[Python-checkins] cpython: Remove compile warnings for _testimportmodule

andrew.svetlov python-checkins at python.org
Sat Dec 15 17:17:19 CET 2012


http://hg.python.org/cpython/rev/16b1fde2275c
changeset:   80856:16b1fde2275c
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Sat Dec 15 18:16:47 2012 +0200
summary:
  Remove compile warnings for _testimportmodule

files:
  Modules/_testimportmultiple.c |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Modules/_testimportmultiple.c b/Modules/_testimportmultiple.c
--- a/Modules/_testimportmultiple.c
+++ b/Modules/_testimportmultiple.c
@@ -17,7 +17,7 @@
     NULL
 };
 
-PyMODINIT_FUNC PyInit__testimportmultiple()
+PyMODINIT_FUNC PyInit__testimportmultiple(void)
 {
     return PyModule_Create(&_testimportmultiple);
 }
@@ -34,7 +34,7 @@
     NULL
 };
 
-PyMODINIT_FUNC PyInit__testimportmultiple_foo()
+PyMODINIT_FUNC PyInit__testimportmultiple_foo(void)
 {
     return PyModule_Create(&_foomodule);
 }
@@ -51,7 +51,7 @@
     NULL
 };
 
-PyMODINIT_FUNC PyInit__testimportmultiple_bar(){
+PyMODINIT_FUNC PyInit__testimportmultiple_bar(void){
     return PyModule_Create(&_barmodule);
 }
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list