diff options
author | Olly Betts <olly@survex.com> | 2022-06-30 12:36:45 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-06-30 12:52:00 +1200 |
commit | 6c4010e4421fbb1be76e89f4edba2d7db532c1cb (patch) | |
tree | e9a769a88d918b6c04b9ff7937ad967d53ac2585 /Source/CParse/cparse.h | |
parent | 4dd285fad736c014224ef2ad25b85e17f3dce1f9 (diff) | |
download | swig-6c4010e4421fbb1be76e89f4edba2d7db532c1cb.tar.gz |
Resolve -Wstrict-prototypes warnings with clang-15
warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Diffstat (limited to 'Source/CParse/cparse.h')
-rw-r--r-- | Source/CParse/cparse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CParse/cparse.h b/Source/CParse/cparse.h index c67ffeaba..0d9ca4b9d 100644 --- a/Source/CParse/cparse.h +++ b/Source/CParse/cparse.h @@ -43,7 +43,7 @@ extern "C" { extern void scanner_clear_rename(void); extern void scanner_set_location(String *file, int line); extern void scanner_set_main_input_file(String *file); - extern String *scanner_get_main_input_file(); + extern String *scanner_get_main_input_file(void); extern void Swig_cparse_follow_locators(int); extern void start_inline(char *, int); extern String *scanner_ccode; |