From: Andrew Svetlov Date: Sat, 15 Dec 2012 16:16:47 +0000 (+0200) Subject: Remove compile warnings for _testimportmodule X-Git-Tag: v3.4.0a1~1854 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a714750cfdd3e71a1b43ff0e34305038713e356;p=thirdparty%2FPython%2Fcpython.git Remove compile warnings for _testimportmodule --- diff --git a/Modules/_testimportmultiple.c b/Modules/_testimportmultiple.c index 0ef573feed84..1caeb66eb8c8 100644 --- a/Modules/_testimportmultiple.c +++ b/Modules/_testimportmultiple.c @@ -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); }