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]
Other format: [Raw text]

[patch] libffi fix implicit declaration of abort


Hi

this one is minor.

/Volumes/xufs/gcc-cvs-clean/gcc/libffi/src/java_raw_api.c:60: warning: implicit declaration of function `abort'

Ok for mainline?

Andreas

2003-08-30 Andreas Tobler <a.tobler@schweiz.ch>

	* src/java_raw_api.c: Include <stdlib.h> to fix compiler warning
	about implicit declaration of abort().

Index: src/java_raw_api.c
===================================================================
RCS file: /cvs/gcc/gcc/libffi/src/java_raw_api.c,v
retrieving revision 1.3
diff -u -r1.3 java_raw_api.c
--- src/java_raw_api.c  8 Oct 2002 14:55:02 -0000       1.3
+++ src/java_raw_api.c  30 Aug 2003 19:41:24 -0000
@@ -36,6 +36,7 @@

 #include <ffi.h>
 #include <ffi_common.h>
+#include <stdlib.h>

#if !defined(NO_JAVA_RAW_API) && !defined(FFI_NO_RAW_API)


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