mirror of https://github.com/python/cpython
Added prototypes to shut gcc -Wstrict-prototypes up.
This commit is contained in:
parent
9642ecad06
commit
f894f6f4e9
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue