diff --git a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c index 9839833e146..f2610c16c78 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 @@ -431,7 +431,7 @@ ffi_prep_cif_machdep( void ffi_call( ffi_cif* cif, - void (*fn)(), + void (*fn)(void), void* rvalue, void** avalue) {