]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
CI: Disable redundant-decls warnings for NSS in crypto_nss_mgt.c.
authorAlexander Hansen Færøy <ahf@torproject.org>
Tue, 18 Mar 2025 13:22:35 +0000 (14:22 +0100)
committerAlexander Hansen Færøy <ahf@torproject.org>
Wed, 19 Mar 2025 18:29:10 +0000 (19:29 +0100)
src/lib/crypt_ops/crypto_nss_mgt.c

index 73580cd883fab8c06c9c919436fa85a90cf0b603..7e89ef28b9d3f669f09a01ac5da4f73eaac1379e 100644 (file)
@@ -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 <nss.h>
 #include <pk11func.h>
@@ -25,6 +26,7 @@ DISABLE_GCC_WARNING("-Wstrict-prototypes")
 #include <prtypes.h>
 #include <prinit.h>
 ENABLE_GCC_WARNING("-Wstrict-prototypes")
+ENABLE_GCC_WARNING("-Wredundant-decls")
 
 const char *
 crypto_nss_get_version_str(void)