From: Marcel Raad Date: Fri, 2 Jun 2017 20:05:01 +0000 (+0200) Subject: mbedtls: make TU-local variable static X-Git-Tag: curl-7_54_1~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10e02bc36a92a1d33067d72906784441d626c010;p=thirdparty%2Fcurl.git mbedtls: make TU-local variable static mbedtls_x509_crt_profile_fr is only used locally. This fixes a missing-variable-declarations warning with clang. --- diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index e7359340d7..037babe388 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) |