commit d4b652ffe4f515fcd0a66fb2b60c9f7851b6a079
parent d3e210e12e07733434f667f86e60be5511fc44bd
Author: Alexander Hansen Færøy <ahf@torproject.org>
Date: Tue, 18 Mar 2025 14:22:35 +0100
CI: Disable redundant-decls warnings for NSS in crypto_nss_mgt.c.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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 <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)