fix prototype warnings, as reported by Max Browsher

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-26 07:09:22 +00:00
commit 02d5dbe049
3 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int
}
SWIGINTERN PyObject *
SWIG_globals() {
SWIG_globals(void) {
static PyObject *_SWIG_globals = 0;
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
return _SWIG_globals;

View file

@ -1337,7 +1337,7 @@ SWIG_Python_SetModule(swig_module_info *swig_module) {
/* The python cached type query */
SWIGRUNTIME PyObject *
SWIG_Python_TypeCache() {
SWIG_Python_TypeCache(void) {
static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
return cache;
}