diff options
-rw-r--r-- | Mac/Modules/gestaltmodule.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Mac/Modules/gestaltmodule.c b/Mac/Modules/gestaltmodule.c index 15a2c89..11946a5 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); } |