(main): Declare to be of type int, not void.

This commit is contained in:
Jim Meyering
1996-03-21 22:45:19 +00:00
parent 403816eb85
commit bb6a548712
18 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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. */
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -317,7 +317,7 @@ static struct option const long_options[] =
{0, 0, 0, 0}
};
void
int
main (int argc, char **argv)
{
#ifdef _POSIX_VERSION
+1 -1
View File
@@ -143,7 +143,7 @@ static struct option const long_options[] =
{NULL, 0, NULL, 0}
};
void
int
main (int argc, char **argv)
{
int i;
+1 -1
View File
@@ -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
View File
@@ -155,7 +155,7 @@ static struct option const long_options[] =
{NULL, 0, NULL, 0}
};
void
int
main (int argc, char **argv)
{
int optc;
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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;