From: Karl Heuer Date: Mon, 15 Jul 1996 21:27:49 +0000 (+0000) Subject: Declare main as int, not void. X-Git-Tag: emacs-19.34~179 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d0dff6e50560a7b6656b62f3a338faa347717f6a;p=emacs.git Declare main as int, not void. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index c9b5ddeb4d3..97f860a96a4 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -693,7 +693,7 @@ char *massage_name (s) #endif /* VMS */ -void +int main (argc, argv) int argc; char *argv[]; diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index 93e14d7e961..400861d4fd7 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c @@ -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; diff --git a/lib-src/profile.c b/lib-src/profile.c index 10148e04df8..b0c713e69dd 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c @@ -79,7 +79,7 @@ gettimeofday (tp, tzp) #endif -void +int main () { int c;