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/FindLibXslt | |
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/FindLibXslt')
-rw-r--r-- | Tests/FindLibXslt/Test/libexslt.c | 2 | ||||
-rw-r--r-- | Tests/FindLibXslt/Test/libxslt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindLibXslt/Test/libexslt.c b/Tests/FindLibXslt/Test/libexslt.c index ea6eb3d..5916024 100644 --- a/Tests/FindLibXslt/Test/libexslt.c +++ b/Tests/FindLibXslt/Test/libexslt.c @@ -2,7 +2,7 @@ #include <libxslt/xslt.h> #include <libxslt/xsltInternals.h> -int main() +int main(void) { xsltInit(); diff --git a/Tests/FindLibXslt/Test/libxslt.c b/Tests/FindLibXslt/Test/libxslt.c index 5b3d766..4a149c1 100644 --- a/Tests/FindLibXslt/Test/libxslt.c +++ b/Tests/FindLibXslt/Test/libxslt.c @@ -4,7 +4,7 @@ #include <stdio.h> #include <string.h> -int main() +int main(void) { xsltInit(); |