changeset 15683:5f9426e991a3

Declare main as int, not void.
author Karl Heuer <kwzh@gnu.org>
date Mon, 15 Jul 1996 21:27:49 +0000
parents 9f7228c75a4b
children 7afd4383ddd3
files lib-src/etags.c lib-src/fakemail.c lib-src/profile.c
diffstat 3 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Mon Jul 15 21:26:39 1996 +0000
+++ b/lib-src/etags.c	Mon Jul 15 21:27:49 1996 +0000
@@ -693,7 +693,7 @@
 #endif /* VMS */
 
 
-void
+int
 main (argc, argv)
      int argc;
      char *argv[];
--- a/lib-src/fakemail.c	Mon Jul 15 21:26:39 1996 +0000
+++ b/lib-src/fakemail.c	Mon Jul 15 21:27:49 1996 +0000
@@ -24,15 +24,17 @@
 
 #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 @@
   return;
 }
 
-void
+int
 main (argc, argv)
      int argc;
      char **argv;
--- a/lib-src/profile.c	Mon Jul 15 21:26:39 1996 +0000
+++ b/lib-src/profile.c	Mon Jul 15 21:27:49 1996 +0000
@@ -79,7 +79,7 @@
  
 #endif
 
-void
+int
 main ()
 {
   int c;