summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Six
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-10-25 14:39:15 (GMT)
committerBrad King <brad.king@kitware.com>2023-10-26 13:20:45 (GMT)
commit264dcae5e42b51724983296457c569a3110687a5 (patch)
tree7fe3b5b5e0ece0dcef79cec708415161ba1a8812 /Tests/Dependency/Six
parent35424aab2e35ae5e4e3762feae26a0c305c73b9d (diff)
downloadCMake-264dcae5e42b51724983296457c569a3110687a5.zip
CMake-264dcae5e42b51724983296457c569a3110687a5.tar.gz
CMake-264dcae5e42b51724983296457c569a3110687a5.tar.bz2
Tests: Fix clang -Wstrict-prototypes warnings
Diffstat (limited to 'Tests/Dependency/Six')
-rw-r--r--Tests/Dependency/Six/SixASrc.c6
-rw-r--r--Tests/Dependency/Six/SixBSrc.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/Tests/Dependency/Six/SixASrc.c b/Tests/Dependency/Six/SixASrc.c
index 7ea3711..ddd2d7d 100644
--- a/Tests/Dependency/Six/SixASrc.c
+++ b/Tests/Dependency/Six/SixASrc.c
@@ -1,7 +1,7 @@
-void FiveFunction();
-void TwoFunction();
+void FiveFunction(void);
+void TwoFunction(void);
-void SixAFunction()
+void SixAFunction(void)
{
FiveFunction();
TwoFunction();
diff --git a/Tests/Dependency/Six/SixBSrc.c b/Tests/Dependency/Six/SixBSrc.c
index 92f9607..42f2de6 100644
--- a/Tests/Dependency/Six/SixBSrc.c
+++ b/Tests/Dependency/Six/SixBSrc.c
@@ -1,8 +1,8 @@
-void TwoFunction();
-void FiveFunction();
-void FourFunction();
+void TwoFunction(void);
+void FiveFunction(void);
+void FourFunction(void);
-void SixBFunction()
+void SixBFunction(void)
{
TwoFunction();
FiveFunction();