mirror of
git://git.sv.gnu.org/coreutils
synced 2026-05-30 04:25:05 -04:00
(main): Declare to be of type int, not void.
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@ Change the group membership of each FILE to GROUP.\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int group;
|
||||
|
||||
+1
-1
@@ -229,7 +229,7 @@ one or more of the letters rwxXstugo.\n"));
|
||||
/* Parse the ASCII mode given on the command line into a linked list
|
||||
of `struct mode_change' and apply that to each file argument. */
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
struct mode_change *changes;
|
||||
|
||||
+1
-1
@@ -233,7 +233,7 @@ to login group if implied by a period. A colon may replace the period.\n"));
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
uid_t user = (uid_t) -1; /* New uid; -1 if not to be changed. */
|
||||
|
||||
@@ -191,8 +191,8 @@ static struct option const long_opts[] =
|
||||
{"version", no_argument, &show_version, 1},
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
void
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
|
||||
@@ -317,7 +317,7 @@ static struct option const long_options[] =
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
#ifdef _POSIX_VERSION
|
||||
|
||||
@@ -143,7 +143,7 @@ static struct option const long_options[] =
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -238,7 +238,7 @@ Summarize disk usage of each FILE, recursively for directories.\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
|
||||
+1
-1
@@ -155,7 +155,7 @@ static struct option const long_options[] =
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int optc;
|
||||
|
||||
@@ -297,7 +297,7 @@ version control may be set with VERSION_CONTROL, values are:\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
|
||||
@@ -617,7 +617,7 @@ dired_dump_obstack (const char *prefix, struct obstack *os)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
register int i;
|
||||
|
||||
+1
-2
@@ -79,8 +79,7 @@ Create the DIRECTORY(ies), if they do not already exist.\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
unsigned int newmode;
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ Create named pipes (FIFOs) with the given NAMEs.\n\
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
unsigned short newmode;
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ MAJOR MINOR are forbidden for TYPE p, mandatory otherwise. TYPE may be:\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
unsigned short newmode;
|
||||
|
||||
@@ -399,7 +399,7 @@ version control may be set with VERSION_CONTROL, values are:\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
|
||||
@@ -110,7 +110,7 @@ static struct option const long_opts[] =
|
||||
{NULL, 0, NULL, 0}
|
||||
};
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int err = 0;
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ Remove the DIRECTORY(ies), if they are empty.\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int errors = 0;
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ Force changed blocks to disk, update the super block.\n\
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
program_name = argv[0];
|
||||
|
||||
+1
-1
@@ -265,7 +265,7 @@ STAMP may be used without -t if none of -drt, nor --, are used.\n"));
|
||||
exit (status);
|
||||
}
|
||||
|
||||
void
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
int c, i;
|
||||
|
||||
Reference in New Issue
Block a user