Skip to content

Commit f894f6f

Browse files
committed
Added prototypes to shut gcc -Wstrict-prototypes up.
1 parent 9642eca commit f894f6f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Mac/Modules/gestaltmodule.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3535
#endif
3636

3737
static PyObject *
38-
gestalt_gestalt(self, args)
39-
PyObject *self;
40-
PyObject *args;
38+
gestalt_gestalt(PyObject *self, PyObject *args)
4139
{
4240
OSErr iErr;
4341
char *str;
@@ -63,7 +61,7 @@ static struct PyMethodDef gestalt_methods[] = {
6361
};
6462

6563
void
66-
initgestalt()
64+
initgestalt(void)
6765
{
6866
Py_InitModule("gestalt", gestalt_methods);
6967
}

0 commit comments

Comments
 (0)