mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
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
|
||||
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user