Merge pull request #1553 from xbao/fix-gcc-warning
Add void to empty function parameter
This commit is contained in:
commit
7a0b4aab6c
|
@ -41,12 +41,12 @@ static struct PyModuleDef speedupsmodule = {
|
||||||
};
|
};
|
||||||
|
|
||||||
PyMODINIT_FUNC
|
PyMODINIT_FUNC
|
||||||
PyInit_speedups() {
|
PyInit_speedups(void) {
|
||||||
return PyModule_Create(&speedupsmodule);
|
return PyModule_Create(&speedupsmodule);
|
||||||
}
|
}
|
||||||
#else // Python 2.x
|
#else // Python 2.x
|
||||||
PyMODINIT_FUNC
|
PyMODINIT_FUNC
|
||||||
initspeedups() {
|
initspeedups(void) {
|
||||||
Py_InitModule("tornado.speedups", methods);
|
Py_InitModule("tornado.speedups", methods);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue