Added prototypes to shut gcc -Wstrict-prototypes up.

This commit is contained in:
Jack Jansen 2001-09-04 22:29:31 +00:00
parent 9642ecad06
commit f894f6f4e9
1 changed files with 2 additions and 4 deletions

View File

@ -35,9 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#endif #endif
static PyObject * static PyObject *
gestalt_gestalt(self, args) gestalt_gestalt(PyObject *self, PyObject *args)
PyObject *self;
PyObject *args;
{ {
OSErr iErr; OSErr iErr;
char *str; char *str;
@ -63,7 +61,7 @@ static struct PyMethodDef gestalt_methods[] = {
}; };
void void
initgestalt() initgestalt(void)
{ {
Py_InitModule("gestalt", gestalt_methods); Py_InitModule("gestalt", gestalt_methods);
} }