diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-05 16:36:18 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-05 16:36:18 -0400 |
commit | 710aa122e4a011435a64e5ccddc0e898ede1f231 (patch) | |
tree | 2ced32227d6b3165f95a4eea07af0ca349b8e708 /src/lib/tls | |
parent | 8cd091a8d3133e9e5363bc4a673011178e54ab5d (diff) | |
download | tor-710aa122e4a011435a64e5ccddc0e898ede1f231.tar.gz tor-710aa122e4a011435a64e5ccddc0e898ede1f231.zip |
Suppress strict-prototypes warnings in one more batch of NSS headers
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/tortls_nss.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <prio.h> // For access to raw sockets. #include <private/pprio.h> @@ -40,6 +41,7 @@ #include <sslt.h> #include <sslproto.h> #include <certt.h> +ENABLE_GCC_WARNING(strict-prototypes) static SECStatus always_accept_cert_cb(void *, PRFileDesc *, PRBool, PRBool); |