[Python-checkins] cpython (3.3): Silence compiler warnings for strict function prototype declarations.
raymond.hettinger
python-checkins at python.org
Sun Aug 4 21:44:41 CEST 2013
http://hg.python.org/cpython/rev/24279f8b779d
changeset: 85033:24279f8b779d
branch: 3.3
parent: 85030:e450e85e2075
user: Raymond Hettinger <python at rcn.com>
date: Sun Aug 04 12:43:37 2013 -0700
summary:
Silence compiler warnings for strict function prototype declarations.
files:
Modules/_ctypes/libffi_osx/x86/x86-ffi64.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c
--- a/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c
+++ b/Modules/_ctypes/libffi_osx/x86/x86-ffi64.c
@@ -46,7 +46,7 @@
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 @@
void
ffi_call(
ffi_cif* cif,
- void (*fn)(),
+ void (*fn)(void),
void* rvalue,
void** avalue)
{
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list