This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch installed for warning in concat.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch installed for warning in concat.c
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Fri, 28 Sep 2001 11:32:21 -0400 (EDT)
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)