From: Andy Polyakov Date: Mon, 28 Sep 2015 13:51:20 +0000 (+0200) Subject: asn1t.h: silence -Wmissing-prototype in Windows builds. X-Git-Tag: OpenSSL_1_1_0-pre1~492 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03cbd3b8fa0ceadd69cd41dbb2353e640ace40ae;p=oweals%2Fopenssl.git asn1t.h: silence -Wmissing-prototype in Windows builds. On Windows OPENSSL_EXPORT_VAR_AS_FUNCTION is defined and in a sense this modification simply harmonizes it with "VAR_AS_VAR". Reviewed-by: Rich Salz --- diff --git a/include/openssl/asn1t.h b/include/openssl/asn1t.h index 68f62641ca..f0244dc254 100644 --- a/include/openssl/asn1t.h +++ b/include/openssl/asn1t.h @@ -103,7 +103,7 @@ extern "C" { static const ASN1_ITEM local_it = { # define static_ASN1_ITEM_start(itname) \ - ASN1_ITEM_start(itname) + static ASN1_ITEM_start(itname) # define ASN1_ITEM_end(itname) \ }; \