summaryrefslogtreecommitdiff
path: root/lib-src/b2m.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-06 10:12:28 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-06 10:12:28 +0000
commit1f8c2f557f61050bf8e08c2c5f8168f79516f29c (patch)
treed3307b59d969cbf5dea1e163213e36f2bf5c54d2 /lib-src/b2m.c
parentff3453e4d171f566fc372a3edea912afee645813 (diff)
downloademacs-1f8c2f557f61050bf8e08c2c5f8168f79516f29c.tar.gz
Include <stdlib.h> if available.
(main): Explicitly declare return type.
Diffstat (limited to 'lib-src/b2m.c')
-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 @@
#undef static
#endif
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif
+
#undef TRUE
#define TRUE 1
#undef FALSE
@@ -88,6 +92,7 @@ struct option longopts[] =
extern int optind;
+int
main (argc, argv)
int argc;
char **argv;