]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Suppress strict-prototypes warnings in one more batch of NSS headers
authorNick Mathewson <nickm@torproject.org>
Wed, 5 Sep 2018 20:36:18 +0000 (16:36 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 5 Sep 2018 20:36:18 +0000 (16:36 -0400)
src/lib/tls/tortls_nss.c

index 8e6c0d2d77ab6f29e6854316c6cc69e9d96507b5..53adfedf322be861c91a2574499a2e8d0513fd76 100644 (file)
@@ -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);