Resolve -Wstrict-prototypes warnings with clang-15

warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
This commit is contained in:
Olly Betts 2022-06-30 12:36:45 +12:00
commit 6c4010e442
15 changed files with 34 additions and 34 deletions

View file

@ -145,7 +145,7 @@ static List *Swig_search_path_any(int syspath) {
return slist;
}
List *Swig_search_path() {
List *Swig_search_path(void) {
return Swig_search_path_any(0);
}
@ -376,6 +376,6 @@ String *Swig_file_dirname(const_String_or_char_ptr filename) {
/*
* Swig_file_debug()
*/
void Swig_file_debug_set() {
void Swig_file_debug_set(void) {
file_debug = 1;
}