Patch installed for warning in concat.c
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Fri Sep 28 08:32:00 GMT 2001
Fixes an implicit decl for `free'. Tested on solaris2.7 by
recompiling concat.c. Installed as obvious.
2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* concat.c: Include stdlib.h.
diff -rup orig/egcs-CVS20010926/libiberty/concat.c egcs-CVS20010926/libiberty/concat.c
--- orig/egcs-CVS20010926/libiberty/concat.c Tue Sep 25 18:04:37 2001
+++ egcs-CVS20010926/libiberty/concat.c Thu Sep 27 17:26:44 2001
@@ -74,6 +74,10 @@ NOTES
# endif
# endif
+#if HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
static inline unsigned long vconcat_length PARAMS ((const char *, va_list));
static inline unsigned long
vconcat_length (first, args)
More information about the Gcc-patches
mailing list