summaryrefslogtreecommitdiff
path: root/tests/libtest/mk-lib1521.pl
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2017-06-21 18:11:11 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-06-21 18:11:11 +0200
commit8de8f4eb7e7c276eb2b2a2f7888c88d0779bed39 (patch)
tree71da14820fa3128d368ef6ee619b22e4cebd9a6a /tests/libtest/mk-lib1521.pl
parentc1dfc8a071c1b1c3c2e9330d485223209ec7051c (diff)
downloadgnurl-8de8f4eb7e7c276eb2b2a2f7888c88d0779bed39.tar.gz
gnurl-8de8f4eb7e7c276eb2b2a2f7888c88d0779bed39.tar.bz2
gnurl-8de8f4eb7e7c276eb2b2a2f7888c88d0779bed39.zip
lib1521: fix missing-variable-declarations clang warnings
Declare TU-local variables static.
Diffstat (limited to 'tests/libtest/mk-lib1521.pl')
-rw-r--r--tests/libtest/mk-lib1521.pl28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl
index 95c7135db..d59db0d7a 100644
--- a/tests/libtest/mk-lib1521.pl
+++ b/tests/libtest/mk-lib1521.pl
@@ -117,20 +117,20 @@ static int geterr(const char *name, CURLcode val, int lineno)
return (int)val;
}
-curl_progress_callback progresscb;
-curl_write_callback headercb;
-curl_debug_callback debugcb;
-curl_ssl_ctx_callback ssl_ctx_cb;
-curl_ioctl_callback ioctlcb;
-curl_sockopt_callback sockoptcb;
-curl_opensocket_callback opensocketcb;
-curl_seek_callback seekcb;
-curl_sshkeycallback ssh_keycb;
-curl_chunk_bgn_callback chunk_bgn_cb;
-curl_chunk_end_callback chunk_end_cb;
-curl_fnmatch_callback fnmatch_cb;
-curl_closesocket_callback closesocketcb;
-curl_xferinfo_callback xferinfocb;
+static curl_progress_callback progresscb;
+static curl_write_callback headercb;
+static curl_debug_callback debugcb;
+static curl_ssl_ctx_callback ssl_ctx_cb;
+static curl_ioctl_callback ioctlcb;
+static curl_sockopt_callback sockoptcb;
+static curl_opensocket_callback opensocketcb;
+static curl_seek_callback seekcb;
+static curl_sshkeycallback ssh_keycb;
+static curl_chunk_bgn_callback chunk_bgn_cb;
+static curl_chunk_end_callback chunk_end_cb;
+static curl_fnmatch_callback fnmatch_cb;
+static curl_closesocket_callback closesocketcb;
+static curl_xferinfo_callback xferinfocb;
int test(char *URL)
{