From: Daniel Stenberg Date: Fri, 26 Jan 2018 15:50:32 +0000 (+0100) Subject: lib517: make variable static to avoid compiler warning X-Git-Tag: curl-7_59_0~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6b611f0d01aff9d0d0d411928c9103c8036af75;p=curl lib517: make variable static to avoid compiler warning ... with clang on macos --- 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 },