From fce99957e238706912a6e940c878648b6ebd8f2b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 28 Jun 2021 09:08:31 -0400 Subject: Suppress strict-prototypes warning on NSS pk11pub.h header We already did this in a couple of places, but there are more that we didn't get. This is necessary for systems with versions of NSS that don't do their prototypes properly. Fixes #40409; bugfix on 0.3.5.1-alpha. --- src/lib/tls/x509_nss.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/tls') diff --git a/src/lib/tls/x509_nss.c b/src/lib/tls/x509_nss.c index 341bb57104..9ee92e9fb0 100644 --- a/src/lib/tls/x509_nss.c +++ b/src/lib/tls/x509_nss.c @@ -20,11 +20,13 @@ #include "lib/encoding/time_fmt.h" #include "lib/string/printf.h" +DISABLE_GCC_WARNING("-Wstrict-prototypes") #include #include #include #include #include +ENABLE_GCC_WARNING("-Wstrict-prototypes") /* Units of PRTime per second. * -- cgit v1.2.3-54-g00ecf