aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-06 10:12:28 +0000
committerAndreas Schwab1998-04-06 10:12:28 +0000
commit1f8c2f557f61050bf8e08c2c5f8168f79516f29c (patch)
treed3307b59d969cbf5dea1e163213e36f2bf5c54d2 /lib-src
parentff3453e4d171f566fc372a3edea912afee645813 (diff)
downloademacs-1f8c2f557f61050bf8e08c2c5f8168f79516f29c.tar.gz
emacs-1f8c2f557f61050bf8e08c2c5f8168f79516f29c.zip
Include <stdlib.h> if available.
(main): Explicitly declare return type.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/b2m.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/b2m.c b/lib-src/b2m.c
index 055b807509b..6a2fcff9a21 100644
--- a/lib-src/b2m.c
+++ b/lib-src/b2m.c
@@ -33,6 +33,10 @@
33#undef static 33#undef static
34#endif 34#endif
35 35
36#ifdef STDC_HEADERS
37#include <stdlib.h>
38#endif
39
36#undef TRUE 40#undef TRUE
37#define TRUE 1 41#define TRUE 1
38#undef FALSE 42#undef FALSE
@@ -88,6 +92,7 @@ struct option longopts[] =
88 92
89extern int optind; 93extern int optind;
90 94
95int
91main (argc, argv) 96main (argc, argv)
92 int argc; 97 int argc;
93 char **argv; 98 char **argv;