From f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 4 Sep 2001 22:29:31 +0000 Subject: [PATCH] Added prototypes to shut gcc -Wstrict-prototypes up. --- Mac/Modules/gestaltmodule.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Mac/Modules/gestaltmodule.c b/Mac/Modules/gestaltmodule.c index 15a2c89e98f..11946a5ff7f 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); }