aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-01-26 16:50:32 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-01-26 16:51:08 +0100
commita6b611f0d01aff9d0d0d411928c9103c8036af75 (patch)
treecd442858319b01f0a1be64da7f7a2cfb4978dbfe /tests
parentd3db7bc72ddac249672d737906e98642b2952370 (diff)
lib517: make variable static to avoid compiler warning
... with clang on macos
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib517.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c
index a30c2d5ce..e7451907c 100644
--- a/tests/libtest/lib517.c
+++ b/tests/libtest/lib517.c
@@ -28,7 +28,7 @@ struct dcheck {
time_t output;
};
-struct dcheck dates[] = {
+static struct dcheck dates[] = {
{"Sun, 06 Nov 1994 08:49:37 GMT", 784111777 },
{"Sunday, 06-Nov-94 08:49:37 GMT", 784111777 },
{"Sun Nov 6 08:49:37 1994", 784111777 },