From: Nick Mathewson Date: Wed, 5 Sep 2018 20:36:18 +0000 (-0400) Subject: Suppress strict-prototypes warnings in one more batch of NSS headers X-Git-Tag: tor-0.3.5.1-alpha~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=710aa122e4a011435a64e5ccddc0e898ede1f231;p=thirdparty%2Ftor.git Suppress strict-prototypes warnings in one more batch of NSS headers --- diff --git a/src/lib/tls/tortls_nss.c b/src/lib/tls/tortls_nss.c index 8e6c0d2d77..53adfedf32 100644 --- a/src/lib/tls/tortls_nss.c +++ b/src/lib/tls/tortls_nss.c @@ -33,6 +33,7 @@ #include "lib/tls/tortls_internal.h" #include "lib/log/util_bug.h" +DISABLE_GCC_WARNING(strict-prototypes) #include // For access to raw sockets. #include @@ -40,6 +41,7 @@ #include #include #include +ENABLE_GCC_WARNING(strict-prototypes) static SECStatus always_accept_cert_cb(void *, PRFileDesc *, PRBool, PRBool);