This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch installed for warning in concat.c


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]