aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib509.c
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/libtest/lib509.c
parentc3513f7e83804d63f3ba8e65d34ada38974d7851 (diff)
tests: declare TU-local variables static
This fixes missing-variable-declarations warnings when building with clang.
Diffstat (limited to 'tests/libtest/lib509.c')
-rw-r--r--tests/libtest/lib509.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/libtest/lib509.c b/tests/libtest/lib509.c
index 941ef7206..4f3e072ae 100644
--- a/tests/libtest/lib509.c
+++ b/tests/libtest/lib509.c
@@ -36,11 +36,11 @@
#include "memdebug.h"
*/
-int seen_malloc = 0;
-int seen_free = 0;
-int seen_realloc = 0;
-int seen_strdup = 0;
-int seen_calloc = 0;
+static int seen_malloc = 0;
+static int seen_free = 0;
+static int seen_realloc = 0;
+static int seen_strdup = 0;
+static int seen_calloc = 0;
void *custom_malloc(size_t size);
void custom_free(void *ptr);