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:
parent
4dd285fad7
commit
6c4010e442
15 changed files with 34 additions and 34 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue