]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove compile warnings for _testimportmodule
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 15 Dec 2012 16:16:47 +0000 (18:16 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 15 Dec 2012 16:16:47 +0000 (18:16 +0200)
Modules/_testimportmultiple.c

index 0ef573feed8446846374cf92474292fdca2cf4d9..1caeb66eb8c85890e2105e3b40716572bf7a5c78 100644 (file)
@@ -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);
 }