diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-01-17 18:45:10 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-01-17 18:45:10 (GMT) |
commit | a35a8b11c38f223eb1489102634cc07277400ab5 (patch) | |
tree | d8b406efde22b29ac90d7055c87f197751c664e0 /Modules | |
parent | d221956f0e67f81a9381bab7eb4e22b78743d99c (diff) | |
download | cpython-a35a8b11c38f223eb1489102634cc07277400ab5.zip cpython-a35a8b11c38f223eb1489102634cc07277400ab5.tar.gz cpython-a35a8b11c38f223eb1489102634cc07277400ab5.tar.bz2 |
Fix a function pointer declaration to silence the compiler.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/libffi/src/x86/ffi_darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ctypes/libffi/src/x86/ffi_darwin.c b/Modules/_ctypes/libffi/src/x86/ffi_darwin.c index c9742d8..71ac587 100644 --- a/Modules/_ctypes/libffi/src/x86/ffi_darwin.c +++ b/Modules/_ctypes/libffi/src/x86/ffi_darwin.c @@ -217,7 +217,7 @@ extern void ffi_call_STDCALL(void (*)(char *, extended_cif *), #endif /* X86_WIN32 */ void ffi_call(/*@dependent@*/ ffi_cif *cif, - void (*fn)(), + void (*fn)(void), /*@out@*/ void *rvalue, /*@dependent@*/ void **avalue) { |