[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Suppress strict-prototypes warnings in one more batch of NSS headers
commit 710aa122e4a011435a64e5ccddc0e898ede1f231
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Sep 5 16:36:18 2018 -0400
Suppress strict-prototypes warnings in one more batch of NSS headers
---
src/lib/tls/tortls_nss.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/tls/tortls_nss.c b/src/lib/tls/tortls_nss.c
index 8e6c0d2d7..53adfedf3 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);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits