aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>1998-04-06 10:12:28 +0000
committerAndreas Schwab <[email protected]>1998-04-06 10:12:28 +0000
commit1f8c2f557f61050bf8e08c2c5f8168f79516f29c (patch)
treed3307b59d969cbf5dea1e163213e36f2bf5c54d2 /lib-src
parentff3453e4d171f566fc372a3edea912afee645813 (diff)
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 055b807509..6a2fcff9a2 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;