diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-15 16:16:47 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-15 16:16:47 (GMT) |
commit | 1a714750cfdd3e71a1b43ff0e34305038713e356 (patch) | |
tree | a0db765b7dfc4c72fd1d9cc720692d82c155d84f | |
parent | ef9a43b2c97d91ab3343372d3e310136938ee505 (diff) | |
download | cpython-1a714750cfdd3e71a1b43ff0e34305038713e356.zip cpython-1a714750cfdd3e71a1b43ff0e34305038713e356.tar.gz cpython-1a714750cfdd3e71a1b43ff0e34305038713e356.tar.bz2 |
Remove compile warnings for _testimportmodule
-rw-r--r-- | Modules/_testimportmultiple.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_testimportmultiple.c b/Modules/_testimportmultiple.c index 0ef573f..1caeb66 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); } |