From d5075fd10f964064dbeff666e7632bcc33c40629 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 9 May 2024 08:21:45 -0400 Subject: [PATCH] CheckIPOSupported: Fix -Wstrict-prototypes warnings in check for C Fixes: #25967 --- Modules/CheckIPOSupported/foo.c | 2 +- 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 1e5659789e..6a64a998ac 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 8d2ab01cb9..db0956cbe3 100644 --- a/Modules/CheckIPOSupported/main.c +++ b/Modules/CheckIPOSupported/main.c @@ -1,4 +1,4 @@ -int foo(); +int foo(void); int main(void) {