Commit d7bd7a55 authored by Raymond Hettinger's avatar Raymond Hettinger

Silence compiler warnings for strict function prototype declarations.

parent 95f34ab9
...@@ -46,7 +46,7 @@ ffi_call_unix64( ...@@ -46,7 +46,7 @@ ffi_call_unix64(
unsigned long bytes, unsigned long bytes,
unsigned flags, unsigned flags,
void* raddr, void* raddr,
void (*fnaddr)(), void (*fnaddr)(void),
unsigned ssecount); unsigned ssecount);
/* All reference to register classes here is identical to the code in /* All reference to register classes here is identical to the code in
...@@ -429,7 +429,7 @@ ffi_prep_cif_machdep( ...@@ -429,7 +429,7 @@ ffi_prep_cif_machdep(
void void
ffi_call( ffi_call(
ffi_cif* cif, ffi_cif* cif,
void (*fn)(), void (*fn)(void),
void* rvalue, void* rvalue,
void** avalue) void** avalue)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment