diff options
author | Brad King <brad.king@kitware.com> | 2024-05-09 12:21:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-05-09 12:22:26 (GMT) |
commit | d5075fd10f964064dbeff666e7632bcc33c40629 (patch) | |
tree | dec92fde15b29bf024d06cdf3c73e66da85a1872 /Modules | |
parent | 648a7fb9b9b7f17fd729f61e166ab831add59357 (diff) | |
download | CMake-d5075fd10f964064dbeff666e7632bcc33c40629.zip CMake-d5075fd10f964064dbeff666e7632bcc33c40629.tar.gz CMake-d5075fd10f964064dbeff666e7632bcc33c40629.tar.bz2 |
CheckIPOSupported: Fix -Wstrict-prototypes warnings in check for C
Fixes: #25967
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CheckIPOSupported/foo.c | 2 | ||||
-rw-r--r-- | Modules/CheckIPOSupported/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CheckIPOSupported/foo.c b/Modules/CheckIPOSupported/foo.c index 1e56597..6a64a99 100644 --- a/Modules/CheckIPOSupported/foo.c +++ b/Modules/CheckIPOSupported/foo.c @@ -1,4 +1,4 @@ -int foo() +int foo(void) { return 0x42; } diff --git a/Modules/CheckIPOSupported/main.c b/Modules/CheckIPOSupported/main.c index 8d2ab01..db0956c 100644 --- a/Modules/CheckIPOSupported/main.c +++ b/Modules/CheckIPOSupported/main.c @@ -1,4 +1,4 @@ -int foo(); +int foo(void); int main(void) { |