Commit d0dff6e5 authored by Karl Heuer's avatar Karl Heuer
Browse files

Declare main as int, not void.

parent c275f129
......@@ -693,7 +693,7 @@ char *massage_name (s)
#endif /* VMS */
void
int
main (argc, argv)
int argc;
char *argv[];
......
......@@ -24,15 +24,17 @@ Boston, MA 02111-1307, USA. */
#if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
/* This program isnot used in BSD, so just avoid loader complaints. */
void
int
main ()
{
return 0;
}
#else /* not BSD 4.2 (or newer) */
#ifdef MSDOS
void
int
main ()
{
return 0;
}
#else /* not MSDOS */
/* This conditional contains all the rest of the file. */
......@@ -695,7 +697,7 @@ write_header (the_header)
return;
}
void
int
main (argc, argv)
int argc;
char **argv;
......
......@@ -79,7 +79,7 @@ gettimeofday (tp, tzp)
#endif
void
int
main ()
{
int c;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment