From d4b652ffe4f515fcd0a66fb2b60c9f7851b6a079 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20Hansen=20F=C3=A6r=C3=B8y?= Date: Tue, 18 Mar 2025 14:22:35 +0100 Subject: [PATCH] CI: Disable redundant-decls warnings for NSS in crypto_nss_mgt.c. --- src/lib/crypt_ops/crypto_nss_mgt.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.3