From: Alexander Hansen Færøy Date: Tue, 18 Mar 2025 13:22:35 +0000 (+0100) Subject: CI: Disable redundant-decls warnings for NSS in crypto_nss_mgt.c. X-Git-Tag: tor-0.4.8.15~4^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4b652ffe4f515fcd0a66fb2b60c9f7851b6a079;p=thirdparty%2Ftor.git CI: Disable redundant-decls warnings for NSS in crypto_nss_mgt.c. --- diff --git a/src/lib/crypt_ops/crypto_nss_mgt.c b/src/lib/crypt_ops/crypto_nss_mgt.c index 73580cd883..7e89ef28b9 100644 --- a/src/lib/crypt_ops/crypto_nss_mgt.c +++ b/src/lib/crypt_ops/crypto_nss_mgt.c @@ -16,6 +16,7 @@ #include "lib/log/util_bug.h" #include "lib/string/printf.h" +DISABLE_GCC_WARNING("-Wredundant-decls") DISABLE_GCC_WARNING("-Wstrict-prototypes") #include #include @@ -25,6 +26,7 @@ DISABLE_GCC_WARNING("-Wstrict-prototypes") #include #include ENABLE_GCC_WARNING("-Wstrict-prototypes") +ENABLE_GCC_WARNING("-Wredundant-decls") const char * crypto_nss_get_version_str(void)