fix prototype warning

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-03-19 19:35:42 +00:00
commit 35c501428b
3 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ extern "C" {
typedef struct swig_globalvar {
char *name; /* Name of global variable */
PyObject *(*get_attr)(); /* Return the current value */
PyObject *(*get_attr)(void); /* Return the current value */
int (*set_attr)(PyObject *); /* Set the value */
struct swig_globalvar *next;
} swig_globalvar;
@ -77,7 +77,7 @@ swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
}
SWIGINTERN PyTypeObject*
swig_varlink_type() {
swig_varlink_type(void) {
static char varlink__doc__[] = "Swig var link object";
static PyTypeObject varlink_type
#if !defined(__cplusplus)