From a35a8b11c38f223eb1489102634cc07277400ab5 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 17 Jan 2008 18:45:10 +0000 Subject: Fix a function pointer declaration to silence the compiler. --- Modules/_ctypes/libffi/src/x86/ffi_darwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v0.12