diff --git a/Source/CParse/parser.y b/Source/CParse/parser.y index 69c2a503d..e6a37d4bb 100644 --- a/Source/CParse/parser.y +++ b/Source/CParse/parser.y @@ -203,7 +203,7 @@ static String *yyrename = 0; static String *resolve_node_scope(String *cname); -Hash *Swig_cparse_features() { +Hash *Swig_cparse_features(void) { static Hash *features_hash = 0; if (!features_hash) features_hash = NewHash(); return features_hash; diff --git a/Source/Swig/include.c b/Source/Swig/include.c index 4c9bd1bf7..670c5f5f5 100644 --- a/Source/Swig/include.c +++ b/Source/Swig/include.c @@ -93,7 +93,7 @@ String *Swig_last_file(void) { } /* ----------------------------------------------------------------------------- - * Swig_search_path() + * Swig_search_path_any() * * Returns a list of the current search paths. * ----------------------------------------------------------------------------- */ diff --git a/Source/Swig/swigfile.h b/Source/Swig/swigfile.h index 7a7ee12b2..204eef46c 100644 --- a/Source/Swig/swigfile.h +++ b/Source/Swig/swigfile.h @@ -13,7 +13,7 @@ extern List *Swig_add_directory(const String_or_char *dirname); extern void Swig_push_directory(const String_or_char *dirname); extern void Swig_pop_directory(void); extern String *Swig_last_file(void); -extern List *Swig_search_path(int syspathvoid); +extern List *Swig_search_path(void); extern FILE *Swig_open(const String_or_char *name); extern String *Swig_read_file(FILE *f); extern String *Swig_include(const String_or_char *name);