aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-05-01 12:55:09 +0200
committerMarcel Raad <raad@teamviewer.com>2017-05-01 12:55:09 +0200
commit7dd89c1cdcda16945610c4cdef89b5cdb2c183a8 (patch)
tree071d52fca528b4f6b15903c6432c4a74a6a044a8 /tests/unit
parentc3513f7e83804d63f3ba8e65d34ada38974d7851 (diff)
tests: declare TU-local variables static
This fixes missing-variable-declarations warnings when building with clang.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/unit1396.c2
-rw-r--r--tests/unit/unit1600.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unit1396.c b/tests/unit/unit1396.c
index 84a5162dd..f3275fdb6 100644
--- a/tests/unit/unit1396.c
+++ b/tests/unit/unit1396.c
@@ -21,7 +21,7 @@
***************************************************************************/
#include "curlcheck.h"
-CURL *hnd;
+static CURL *hnd;
static CURLcode unit_setup(void)
{
diff --git a/tests/unit/unit1600.c b/tests/unit/unit1600.c
index af0ad8435..11d718d35 100644
--- a/tests/unit/unit1600.c
+++ b/tests/unit/unit1600.c
@@ -24,7 +24,7 @@
#include "urldata.h"
#include "curl_ntlm_core.h"
-CURL *easy;
+static CURL *easy;
static CURLcode unit_setup(void)
{