diff options
author | Brad King <brad.king@kitware.com> | 2023-10-25 14:39:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-26 13:20:45 (GMT) |
commit | 264dcae5e42b51724983296457c569a3110687a5 (patch) | |
tree | 7fe3b5b5e0ece0dcef79cec708415161ba1a8812 /Tests/ComplexOneConfig | |
parent | 35424aab2e35ae5e4e3762feae26a0c305c73b9d (diff) | |
download | CMake-264dcae5e42b51724983296457c569a3110687a5.zip CMake-264dcae5e42b51724983296457c569a3110687a5.tar.gz CMake-264dcae5e42b51724983296457c569a3110687a5.tar.bz2 |
Tests: Fix clang -Wstrict-prototypes warnings
Diffstat (limited to 'Tests/ComplexOneConfig')
4 files changed, 4 insertions, 4 deletions
diff --git a/Tests/ComplexOneConfig/Executable/Sub1/NameConflictTest.c b/Tests/ComplexOneConfig/Executable/Sub1/NameConflictTest.c index 8720386..740c236 100644 --- a/Tests/ComplexOneConfig/Executable/Sub1/NameConflictTest.c +++ b/Tests/ComplexOneConfig/Executable/Sub1/NameConflictTest.c @@ -1,4 +1,4 @@ -int NameConflictTest1() +int NameConflictTest1(void) { return 0; } diff --git a/Tests/ComplexOneConfig/Executable/Sub2/NameConflictTest.c b/Tests/ComplexOneConfig/Executable/Sub2/NameConflictTest.c index 4a32572..cee9f6f 100644 --- a/Tests/ComplexOneConfig/Executable/Sub2/NameConflictTest.c +++ b/Tests/ComplexOneConfig/Executable/Sub2/NameConflictTest.c @@ -1,4 +1,4 @@ -int NameConflictTest2() +int NameConflictTest2(void) { return 0; } diff --git a/Tests/ComplexOneConfig/Library/TestLink.c b/Tests/ComplexOneConfig/Library/TestLink.c index 25dee08..f4bc255 100644 --- a/Tests/ComplexOneConfig/Library/TestLink.c +++ b/Tests/ComplexOneConfig/Library/TestLink.c @@ -1,4 +1,4 @@ -int TestLinkGetType() +int TestLinkGetType(void) { #ifdef CMakeTestLinkShared_EXPORTS return 0; diff --git a/Tests/ComplexOneConfig/Library/testConly.c b/Tests/ComplexOneConfig/Library/testConly.c index eb933a2..05ecc18 100644 --- a/Tests/ComplexOneConfig/Library/testConly.c +++ b/Tests/ComplexOneConfig/Library/testConly.c @@ -2,7 +2,7 @@ #include <stdio.h> -int CsharedFunction() +int CsharedFunction(void) { #ifndef TEST_C_FLAGS printf("TEST_C_FLAGS failed\n"); |