summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-15 21:27:49 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-15 21:27:49 +0000
commit5fbc367c8f4af49e3cf2d3c1f7a43174003f7f60 (patch)
treede185f3f8b2787b9d9461987c2a757febfb6b9b8
parentbf3121f325e7602846677cfb7e0f04905a2883b2 (diff)
downloademacs-5fbc367c8f4af49e3cf2d3c1f7a43174003f7f60.tar.gz
Declare main as int, not void.
-rw-r--r--lib-src/etags.c2
-rw-r--r--lib-src/fakemail.c8
-rw-r--r--lib-src/profile.c2
3 files changed, 7 insertions, 5 deletions
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;