Merge pull request #1553 from xbao/fix-gcc-warning

Add void to empty function parameter
This commit is contained in:
Ben Darnell 2015-10-18 15:44:27 +02:00
commit 7a0b4aab6c
1 changed files with 2 additions and 2 deletions

View File

@ -41,12 +41,12 @@ static struct PyModuleDef speedupsmodule = {
};
PyMODINIT_FUNC
PyInit_speedups() {
PyInit_speedups(void) {
return PyModule_Create(&speedupsmodule);
}
#else // Python 2.x
PyMODINIT_FUNC
initspeedups() {
initspeedups(void) {
Py_InitModule("tornado.speedups", methods);
}
#endif