From: Brett Cannon Date: Thu, 17 Jan 2008 18:45:10 +0000 (+0000) Subject: Fix a function pointer declaration to silence the compiler. X-Git-Tag: v2.6a1~576 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a35a8b11c38f223eb1489102634cc07277400ab5;p=python Fix a function pointer declaration to silence the compiler. --- diff --git a/Modules/_ctypes/libffi/src/x86/ffi_darwin.c b/Modules/_ctypes/libffi/src/x86/ffi_darwin.c index c9742d876c..71ac587e5c 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) {