summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-10-18 10:01:05 -0400
committerSean McBride <sean@rogue-research.com>2021-10-25 12:27:09 -0400
commit1cf14f8c03be76f39e60ccad5049a6f2cd00aa04 (patch)
tree1cdcd647478e605952ddf4e1f1591715384e3c2c /Templates
parent319944b3d289871c4cd21ee11aba1f5785d4b626 (diff)
downloadcmake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.gz
Source: fix many -Wmissing-prototypes warnings by marking functions static
Diffstat (limited to 'Templates')
-rw-r--r--Templates/TestDriver.cxx.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in
index 632bb8065c..c47266a75e 100644
--- a/Templates/TestDriver.cxx.in
+++ b/Templates/TestDriver.cxx.in
@@ -63,7 +63,7 @@ static char* lowercase(const char* string)
return new_string;
}
-int isTestSkipped(const char *name, int n_skipped_tests, char *skipped_tests[]) {
+static int isTestSkipped(const char *name, int n_skipped_tests, char *skipped_tests[]) {
int i;
for (i = 0; i < n_skipped_tests; i++) {
if (strcmp(name, skipped_tests[i]) == 0) {