From 10e02bc36a92a1d33067d72906784441d626c010 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 2 Jun 2017 22:05:01 +0200 Subject: mbedtls: make TU-local variable static mbedtls_x509_crt_profile_fr is only used locally. This fixes a missing-variable-declarations warning with clang. --- lib/vtls/mbedtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index e7359340d..037babe38 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -131,7 +131,7 @@ static void mbed_debug(void *context, int level, const char *f_name, /* * profile */ -const mbedtls_x509_crt_profile mbedtls_x509_crt_profile_fr = +static const mbedtls_x509_crt_profile mbedtls_x509_crt_profile_fr = { /* Hashes from SHA-1 and above */ MBEDTLS_X509_ID_FLAG(MBEDTLS_MD_SHA1) | -- cgit v1.2.1