commit | d5075fd10f964064dbeff666e7632bcc33c40629 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Thu May 09 08:21:45 2024 -0400 |
committer | Brad King <brad.king@kitware.com> | Thu May 09 08:22:26 2024 -0400 |
tree | dec92fde15b29bf024d06cdf3c73e66da85a1872 | |
parent | 648a7fb9b9b7f17fd729f61e166ab831add59357 [diff] |
CheckIPOSupported: Fix -Wstrict-prototypes warnings in check for C Fixes: #25967
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) {