diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-04 19:43:37 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-04 19:43:37 (GMT) |
commit | d7bd7a5525ca0cdc5c65baaf377c4b2e55bf5601 (patch) | |
tree | b49dec02ccd45d97a32879fe2cf3bf6f88a1b17b | |
parent | 95f34ab95959fa67d258043622744dae8519c5b2 (diff) | |
download | cpython-d7bd7a5525ca0cdc5c65baaf377c4b2e55bf5601.zip cpython-d7bd7a5525ca0cdc5c65baaf377c4b2e55bf5601.tar.gz cpython-d7bd7a5525ca0cdc5c65baaf377c4b2e55bf5601.tar.bz2 |
Silence compiler warnings for strict function prototype declarations.
-rw-r--r-- | Modules/_ctypes/libffi_osx/x86/x86-ffi64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c index 06feaf2..2affb14 100644 --- a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c +++ b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c @@ -46,7 +46,7 @@ ffi_call_unix64( unsigned long bytes, unsigned flags, void* raddr, - void (*fnaddr)(), + void (*fnaddr)(void), unsigned ssecount); /* All reference to register classes here is identical to the code in @@ -429,7 +429,7 @@ ffi_prep_cif_machdep( void ffi_call( ffi_cif* cif, - void (*fn)(), + void (*fn)(void), void* rvalue, void** avalue) { |