From 7dd89c1cdcda16945610c4cdef89b5cdb2c183a8 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 1 May 2017 12:55:09 +0200 Subject: tests: declare TU-local variables static This fixes missing-variable-declarations warnings when building with clang. --- tests/libtest/lib509.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/libtest/lib509.c') 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); -- cgit v1.2.3