summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib
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/CMakeLib
parent35424aab2e35ae5e4e3762feae26a0c305c73b9d (diff)
downloadCMake-264dcae5e42b51724983296457c569a3110687a5.zip
CMake-264dcae5e42b51724983296457c569a3110687a5.tar.gz
CMake-264dcae5e42b51724983296457c569a3110687a5.tar.bz2
Tests: Fix clang -Wstrict-prototypes warnings
Diffstat (limited to 'Tests/CMakeLib')
-rw-r--r--Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeLists.txt b/Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeLists.txt
index e47b9db..f3de7e1 100644
--- a/Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeLists.txt
+++ b/Tests/CMakeLib/PseudoMemcheck/NoLog/CMakeLists.txt
@@ -1,7 +1,7 @@
# A dummy checker implementation that does not write the requested output file
# so it triggers an error for every checker.
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in" "int main(){return 0;}\n")
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in" "int main(void){return 0;}\n")
configure_file(
"${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in"