In Python HEAD there are several warnings from gcc
4.0.1 on OS X 10.4.6 of the form, "function declaration
isn't a prototype". These all stem from function
parameters that are functions, but that are defined
if you fill in the argument parameter list for those
arguments that are functions (going from ``void
(*fn)()`` to ``void (*fn)(void)``, for instance) the
warnings go away.
The attached patch removes the warnings. It was
created against ctypes in Python HEAD (rev. 45694M).
Log in to post a comment.