diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 22:29:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 22:29:31 (GMT) |
commit | f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1 (patch) | |
tree | 4895e3d68e50579dc9d7939e317c03d73f5ba518 /Mac | |
parent | 9642ecad06f596b3eded6fb2e683d95a4d1b911c (diff) | |
download | cpython-f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1.zip cpython-f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1.tar.gz cpython-f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1.tar.bz2 |
Added prototypes to shut gcc -Wstrict-prototypes up.
Diffstat (limited to 'Mac')
-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); } |