aboutsummaryrefslogtreecommitdiff
path: root/libffi/include
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2009-06-04 15:50:24 +0000
committerAndrew Haley <aph@gcc.gnu.org>2009-06-04 15:50:24 +0000
commit96baa25172614b39544214a199635a1cbc9632e0 (patch)
treeb8834c17e7b79b7960b9b74c1cef37451b8fcdf4 /libffi/include
parent7446546ab02823b356570bf5b4280375fd646f99 (diff)
downloadgcc-96baa25172614b39544214a199635a1cbc9632e0.zip
gcc-96baa25172614b39544214a199635a1cbc9632e0.tar.gz
gcc-96baa25172614b39544214a199635a1cbc9632e0.tar.bz2
ffi.h.in: Change void (*)() to void (*)(void).
2009-06-04 Andrew Haley <aph@redhat.com> * include/ffi.h.in: Change void (*)() to void (*)(void). * src/x86/ffi.c: Likewise. From-SVN: r148173
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 5f4c1c1..ea45f95 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);