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/lib540.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/lib540.c')
-rw-r--r-- | tests/libtest/lib540.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c index f5d89c41d..ac862092f 100644 --- a/tests/libtest/lib540.c +++ b/tests/libtest/lib540.c @@ -46,7 +46,7 @@ #define NUM_HANDLES 2 -CURL *eh[NUM_HANDLES]; +static CURL *eh[NUM_HANDLES]; static int init(int num, CURLM *cm, const char *url, const char *userpwd, struct curl_slist *headers) |