aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKarl Heuer1996-07-15 21:27:49 +0000
committerKarl Heuer1996-07-15 21:27:49 +0000
commitd0dff6e50560a7b6656b62f3a338faa347717f6a (patch)
tree57972e80b0ef1e1da8d2bacb8d68bbd342183605 /lib-src
parentc275f129ae7fc59bf899d0f3ddca4b2a2e3c2dd3 (diff)
downloademacs-d0dff6e50560a7b6656b62f3a338faa347717f6a.tar.gz
emacs-d0dff6e50560a7b6656b62f3a338faa347717f6a.zip
Declare main as int, not void.
Diffstat (limited to 'lib-src')
-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)
693#endif /* VMS */ 693#endif /* VMS */
694 694
695 695
696void 696int
697main (argc, argv) 697main (argc, argv)
698 int argc; 698 int argc;
699 char *argv[]; 699 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. */
24 24
25#if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) 25#if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
26/* This program isnot used in BSD, so just avoid loader complaints. */ 26/* This program isnot used in BSD, so just avoid loader complaints. */
27void 27int
28main () 28main ()
29{ 29{
30 return 0;
30} 31}
31#else /* not BSD 4.2 (or newer) */ 32#else /* not BSD 4.2 (or newer) */
32#ifdef MSDOS 33#ifdef MSDOS
33void 34int
34main () 35main ()
35{ 36{
37 return 0;
36} 38}
37#else /* not MSDOS */ 39#else /* not MSDOS */
38/* This conditional contains all the rest of the file. */ 40/* This conditional contains all the rest of the file. */
@@ -695,7 +697,7 @@ write_header (the_header)
695 return; 697 return;
696} 698}
697 699
698void 700int
699main (argc, argv) 701main (argc, argv)
700 int argc; 702 int argc;
701 char **argv; 703 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)
79 79
80#endif 80#endif
81 81
82void 82int
83main () 83main ()
84{ 84{
85 int c; 85 int c;