diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-05-01 12:55:09 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-05-01 12:55:09 +0200 |
commit | 7dd89c1cdcda16945610c4cdef89b5cdb2c183a8 (patch) | |
tree | 071d52fca528b4f6b15903c6432c4a74a6a044a8 /tests/libtest/lib1900.c | |
parent | c3513f7e83804d63f3ba8e65d34ada38974d7851 (diff) |
tests: declare TU-local variables static
This fixes missing-variable-declarations warnings when building with
clang.
Diffstat (limited to 'tests/libtest/lib1900.c')
-rw-r--r-- | tests/libtest/lib1900.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/libtest/lib1900.c b/tests/libtest/lib1900.c index 4502fc0d6..d72e3e6a2 100644 --- a/tests/libtest/lib1900.c +++ b/tests/libtest/lib1900.c @@ -29,14 +29,14 @@ #define MAX_URLS 200 #define MAX_BLACKLIST 20 -int urltime[MAX_URLS]; -char *urlstring[MAX_URLS]; -CURL *handles[MAX_URLS]; -char *site_blacklist[MAX_BLACKLIST]; -char *server_blacklist[MAX_BLACKLIST]; -int num_handles; -int blacklist_num_servers; -int blacklist_num_sites; +static int urltime[MAX_URLS]; +static char *urlstring[MAX_URLS]; +static CURL *handles[MAX_URLS]; +static char *site_blacklist[MAX_BLACKLIST]; +static char *server_blacklist[MAX_BLACKLIST]; +static int num_handles; +static int blacklist_num_servers; +static int blacklist_num_sites; static size_t write_callback(void *contents, size_t size, size_t nmemb, void *userp) |