mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Fix compiler warnings on Darwin.
Patch by Brett Canon, see https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702
This commit is contained in:
parent
1ddba60e3d
commit
4e1777de63
1 changed files with 5 additions and 5 deletions
|
@ -380,18 +380,18 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue