changeset 21386:49b24e54a5fa

Include <stdlib.h> if available. (main): Explicitly declare return type.
author Andreas Schwab <schwab@suse.de>
date Mon, 06 Apr 1998 10:12:28 +0000
parents a14e82c3a69e
children 4812cf228971
files lib-src/b2m.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/b2m.c	Mon Apr 06 09:56:55 1998 +0000
+++ b/lib-src/b2m.c	Mon Apr 06 10:12:28 1998 +0000
@@ -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 @@
 
 extern int optind;
 
+int
 main (argc, argv)
      int argc;
      char **argv;