Remove compile warnings for _testimportmodule

This commit is contained in:
Andrew Svetlov 2012-12-15 18:16:47 +02:00
parent ef9a43b2c9
commit 1a714750cf
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ static struct PyModuleDef _testimportmultiple = {
NULL NULL
}; };
PyMODINIT_FUNC PyInit__testimportmultiple() PyMODINIT_FUNC PyInit__testimportmultiple(void)
{ {
return PyModule_Create(&_testimportmultiple); return PyModule_Create(&_testimportmultiple);
} }
@ -34,7 +34,7 @@ static struct PyModuleDef _foomodule = {
NULL NULL
}; };
PyMODINIT_FUNC PyInit__testimportmultiple_foo() PyMODINIT_FUNC PyInit__testimportmultiple_foo(void)
{ {
return PyModule_Create(&_foomodule); return PyModule_Create(&_foomodule);
} }
@ -51,7 +51,7 @@ static struct PyModuleDef _barmodule = {
NULL NULL
}; };
PyMODINIT_FUNC PyInit__testimportmultiple_bar(){ PyMODINIT_FUNC PyInit__testimportmultiple_bar(void){
return PyModule_Create(&_barmodule); return PyModule_Create(&_barmodule);
} }