Skip to content

Commit 9346e3b

Browse files
committed
Fix strict-prototypes warnings
1 parent ec109cf commit 9346e3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmake/cmake/modules/FindCclient.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function(cclient_check_symbol symbol result)
8787
8888
void ${symbol}(void);
8989
void (*f)(void);
90-
char foobar() {
90+
char foobar(void) {
9191
f = ${symbol};
9292
}
9393

cmake/ext/gd/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ if(NOT EXT_GD_EXTERNAL)
374374
return '\0';
375375
}
376376
377-
char foobar();
377+
char foobar(void);
378378
379379
int main(void) {
380380
foobar();

0 commit comments

Comments
 (0)