diff options
author | Sean McBride <sean@rogue-research.com> | 2023-10-20 15:52:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-20 16:20:13 (GMT) |
commit | 162e017b2dd40b1c238da959e93665d997bd1ff2 (patch) | |
tree | 3f92c4b341952c0d2ef71302639ac3da39ac746d | |
parent | b373a229919faf5ab583472b94b2a5392d537221 (diff) | |
download | CMake-162e017b2dd40b1c238da959e93665d997bd1ff2.zip CMake-162e017b2dd40b1c238da959e93665d997bd1ff2.tar.gz CMake-162e017b2dd40b1c238da959e93665d997bd1ff2.tar.bz2 |
Fix clang -Wstrict-prototypes by making main take void instead of nothing
-rw-r--r-- | Tests/RunCMake/print_stdin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/print_stdin.c b/Tests/RunCMake/print_stdin.c index e083e62..76b3a84 100644 --- a/Tests/RunCMake/print_stdin.c +++ b/Tests/RunCMake/print_stdin.c @@ -1,6 +1,6 @@ #include <stdio.h> -int main() +int main(void) { char buf[1024]; size_t nIn = sizeof(buf); |