summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-15 16:16:47 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-15 16:16:47 (GMT)
commit1a714750cfdd3e71a1b43ff0e34305038713e356 (patch)
treea0db765b7dfc4c72fd1d9cc720692d82c155d84f
parentef9a43b2c97d91ab3343372d3e310136938ee505 (diff)
downloadcpython-1a714750cfdd3e71a1b43ff0e34305038713e356.zip
cpython-1a714750cfdd3e71a1b43ff0e34305038713e356.tar.gz
cpython-1a714750cfdd3e71a1b43ff0e34305038713e356.tar.bz2
Remove compile warnings for _testimportmodule
-rw-r--r--Modules/_testimportmultiple.c6
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);
}