]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Silence compiler warnings for strict function prototype declarations.
authorRaymond Hettinger <python@rcn.com>
Sun, 4 Aug 2013 19:43:37 +0000 (12:43 -0700)
committerRaymond Hettinger <python@rcn.com>
Sun, 4 Aug 2013 19:43:37 +0000 (12:43 -0700)
Modules/_ctypes/libffi_osx/x86/x86-ffi64.c

index 06feaf23da0b83333aba0e837176dd5e218ca579..2affb14c1adcfb737a3fb7e5d8f6abc828f6f80d 100644 (file)
@@ -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)
 {