diff options
-rw-r--r-- | Mac/Modules/qd/Qdmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/qd/qdsupport.py | 2 | ||||
-rw-r--r-- | Mac/Modules/snd/Sndmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/snd/sndsupport.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Modules/qd/Qdmodule.c b/Mac/Modules/qd/Qdmodule.c index ca434f0..c65448e 100644 --- a/Mac/Modules/qd/Qdmodule.c +++ b/Mac/Modules/qd/Qdmodule.c @@ -521,7 +521,7 @@ typedef struct QDGlobalsAccessObject { PyObject_HEAD } QDGlobalsAccessObject; -static PyObject *QDGA_New() +static PyObject *QDGA_New(void) { QDGlobalsAccessObject *it; it = PyObject_NEW(QDGlobalsAccessObject, &QDGlobalsAccess_Type); diff --git a/Mac/Modules/qd/qdsupport.py b/Mac/Modules/qd/qdsupport.py index 87e1080..cd6282b 100644 --- a/Mac/Modules/qd/qdsupport.py +++ b/Mac/Modules/qd/qdsupport.py @@ -450,7 +450,7 @@ class QDGlobalsAccessObjectDefinition(ObjectDefinition): pass def outputNew(self): Output() - Output("%sPyObject *%s_New()", self.static, self.prefix) + Output("%sPyObject *%s_New(void)", self.static, self.prefix) OutLbrace() Output("%s *it;", self.objecttype) Output("it = PyObject_NEW(%s, &%s);", self.objecttype, self.typename) diff --git a/Mac/Modules/snd/Sndmodule.c b/Mac/Modules/snd/Sndmodule.c index dea89ed..a561a95 100644 --- a/Mac/Modules/snd/Sndmodule.c +++ b/Mac/Modules/snd/Sndmodule.c @@ -351,7 +351,7 @@ typedef struct SPBObject { SPB ob_spb; } SPBObject; -static PyObject *SPBObj_New() +static PyObject *SPBObj_New(void) { SPBObject *it; it = PyObject_NEW(SPBObject, &SPB_Type); diff --git a/Mac/Modules/snd/sndsupport.py b/Mac/Modules/snd/sndsupport.py index d0b8c8b..dcaa654 100644 --- a/Mac/Modules/snd/sndsupport.py +++ b/Mac/Modules/snd/sndsupport.py @@ -244,7 +244,7 @@ class SpbObjectDefinition(ObjectDefinition): def outputNew(self): Output() - Output("%sPyObject *%s_New()", self.static, self.prefix) + Output("%sPyObject *%s_New(void)", self.static, self.prefix) OutLbrace() Output("%s *it;", self.objecttype) self.outputCheckNewArg() |