diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-06-20 21:22:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-06-20 21:22:23 (GMT) |
commit | 3685a4328d30126b0271c38c155a502bd212c25d (patch) | |
tree | cec5ae56d4e77367d80524778f48db0329edb1f7 /Mac/Modules/qd | |
parent | 6b9289ff1a89158e7e54781ae540c721473dc5c5 (diff) | |
download | cpython-3685a4328d30126b0271c38c155a502bd212c25d.zip cpython-3685a4328d30126b0271c38c155a502bd212c25d.tar.gz cpython-3685a4328d30126b0271c38c155a502bd212c25d.tar.bz2 |
ANSIfied function headers to shut up compiler warnings on OSX/Mach-o.
Diffstat (limited to 'Mac/Modules/qd')
-rw-r--r-- | Mac/Modules/qd/Qdmodule.c | 2 | ||||
-rw-r--r-- | Mac/Modules/qd/qdsupport.py | 2 |
2 files changed, 2 insertions, 2 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) |