[Python-checkins] r45717 - python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c
thomas.heller
python-checkins at python.org
Tue Apr 25 20:26:09 CEST 2006
Author: thomas.heller
Date: Tue Apr 25 20:26:08 2006
New Revision: 45717
Modified:
python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c
Log:
Fix compiler warnings on Darwin.
Patch by Brett Canon, see
https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702
Modified: python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c
==============================================================================
--- python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c (original)
+++ python/trunk/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c Tue Apr 25 20:26:08 2006
@@ -380,18 +380,18 @@
extern void ffi_call_AIX(/*@out@*/ extended_cif *,
unsigned, unsigned,
/*@out@*/ unsigned *,
- void (*fn)(),
- void (*fn2)());
+ void (*fn)(void),
+ void (*fn2)(extended_cif *, unsigned *const));
extern void ffi_call_DARWIN(/*@out@*/ extended_cif *,
unsigned, unsigned,
/*@out@*/ unsigned *,
- void (*fn)(),
- void (*fn2)());
+ void (*fn)(void),
+ void (*fn2)(extended_cif *, unsigned *const));
/*@=declundef@*/
/*@=exportheader@*/
void ffi_call(/*@dependent@*/ ffi_cif *cif,
- void (*fn)(),
+ void (*fn)(void),
/*@out@*/ void *rvalue,
/*@dependent@*/ void **avalue)
{
More information about the Python-checkins
mailing list