summaryrefslogtreecommitdiff
path: root/libffi/include
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-04 15:50:24 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-04 15:50:24 +0000
commite01722f11e28a8b487c62b97f70aff9191644c12 (patch)
treeb8834c17e7b79b7960b9b74c1cef37451b8fcdf4 /libffi/include
parent6e59f66fb0acdbe9e8df199a73ad649de7ead875 (diff)
downloadgcc-e01722f11e28a8b487c62b97f70aff9191644c12.tar.gz
2009-06-04 Andrew Haley <aph@redhat.com>
* include/ffi.h.in: Change void (*)() to void (*)(void). * src/x86/ffi.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/include')
-rw-r--r--libffi/include/ffi.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/libffi/include/ffi.h.in b/libffi/include/ffi.h.in
index 5f4c1c1a299..ea45f954bf0 100644
--- a/libffi/include/ffi.h.in
+++ b/libffi/include/ffi.h.in
@@ -222,7 +222,7 @@ typedef ffi_raw ffi_java_raw;
void ffi_raw_call (ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
void *rvalue,
ffi_raw *avalue);
@@ -235,7 +235,7 @@ size_t ffi_raw_size (ffi_cif *cif);
/* longs and doubles are followed by an empty 64-bit word. */
void ffi_java_raw_call (ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
void *rvalue,
ffi_java_raw *avalue);
@@ -349,7 +349,7 @@ ffi_status ffi_prep_cif(ffi_cif *cif,
ffi_type **atypes);
void ffi_call(ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
void *rvalue,
void **avalue);