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) ...@@ -693,7 +693,7 @@ char *massage_name (s)
#endif /* VMS */ #endif /* VMS */
void int
main (argc, argv) main (argc, argv)
int argc; int argc;
char *argv[]; char *argv[];
......
...@@ -24,15 +24,17 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,15 +24,17 @@ Boston, MA 02111-1307, USA. */
#if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) #if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
/* This program isnot used in BSD, so just avoid loader complaints. */ /* This program isnot used in BSD, so just avoid loader complaints. */
void int
main () main ()
{ {
return 0;
} }
#else /* not BSD 4.2 (or newer) */ #else /* not BSD 4.2 (or newer) */
#ifdef MSDOS #ifdef MSDOS
void int
main () main ()
{ {
return 0;
} }
#else /* not MSDOS */ #else /* not MSDOS */
/* This conditional contains all the rest of the file. */ /* This conditional contains all the rest of the file. */
...@@ -695,7 +697,7 @@ write_header (the_header) ...@@ -695,7 +697,7 @@ write_header (the_header)
return; return;
} }
void int
main (argc, argv) main (argc, argv)
int argc; int argc;
char **argv; char **argv;
......
...@@ -79,7 +79,7 @@ gettimeofday (tp, tzp) ...@@ -79,7 +79,7 @@ gettimeofday (tp, tzp)
#endif #endif
void int
main () main ()
{ {
int c; 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