Commit 5cb3c804 authored by Andrew Svetlov's avatar Andrew Svetlov

Remove compile warnings for _testimportmodule

parent 917558e9
......@@ -17,7 +17,7 @@ static struct PyModuleDef _testimportmultiple = {
NULL
};
PyMODINIT_FUNC PyInit__testimportmultiple()
PyMODINIT_FUNC PyInit__testimportmultiple(void)
{
return PyModule_Create(&_testimportmultiple);
}
......@@ -34,7 +34,7 @@ static struct PyModuleDef _foomodule = {
NULL
};
PyMODINIT_FUNC PyInit__testimportmultiple_foo()
PyMODINIT_FUNC PyInit__testimportmultiple_foo(void)
{
return PyModule_Create(&_foomodule);
}
......@@ -51,7 +51,7 @@ static struct PyModuleDef _barmodule = {
NULL
};
PyMODINIT_FUNC PyInit__testimportmultiple_bar(){
PyMODINIT_FUNC PyInit__testimportmultiple_bar(void){
return PyModule_Create(&_barmodule);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment