From: Jack Jansen Date: Tue, 4 Sep 2001 22:29:31 +0000 (+0000) Subject: Added prototypes to shut gcc -Wstrict-prototypes up. X-Git-Tag: v2.2a3~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1;p=thirdparty%2FPython%2Fcpython.git Added prototypes to shut gcc -Wstrict-prototypes up. --- diff --git a/Mac/Modules/gestaltmodule.c b/Mac/Modules/gestaltmodule.c index 15a2c89e98fd..11946a5ff7f3 100644 --- a/Mac/Modules/gestaltmodule.c +++ b/Mac/Modules/gestaltmodule.c @@ -35,9 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #endif static PyObject * -gestalt_gestalt(self, args) - PyObject *self; - PyObject *args; +gestalt_gestalt(PyObject *self, PyObject *args) { OSErr iErr; char *str; @@ -63,7 +61,7 @@ static struct PyMethodDef gestalt_methods[] = { }; void -initgestalt() +initgestalt(void) { Py_InitModule("gestalt", gestalt_methods); }