summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-04 22:29:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-04 22:29:31 (GMT)
commitf894f6f4e9d4740f5478b4b60a3d1918df7bf8b1 (patch)
tree4895e3d68e50579dc9d7939e317c03d73f5ba518 /Mac/Modules
parent9642ecad06f596b3eded6fb2e683d95a4d1b911c (diff)
downloadcpython-f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1.zip
cpython-f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1.tar.gz
cpython-f894f6f4e9d4740f5478b4b60a3d1918df7bf8b1.tar.bz2
Added prototypes to shut gcc -Wstrict-prototypes up.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/gestaltmodule.c6
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);
}