Suppress strict-prototypes warnings in one more batch of NSS headers

This commit is contained in:
Nick Mathewson 2018-09-05 16:36:18 -04:00
parent 8cd091a8d3
commit 710aa122e4

View File

@ -33,6 +33,7 @@
#include "lib/tls/tortls_internal.h" #include "lib/tls/tortls_internal.h"
#include "lib/log/util_bug.h" #include "lib/log/util_bug.h"
DISABLE_GCC_WARNING(strict-prototypes)
#include <prio.h> #include <prio.h>
// For access to raw sockets. // For access to raw sockets.
#include <private/pprio.h> #include <private/pprio.h>
@ -40,6 +41,7 @@
#include <sslt.h> #include <sslt.h>
#include <sslproto.h> #include <sslproto.h>
#include <certt.h> #include <certt.h>
ENABLE_GCC_WARNING(strict-prototypes)
static SECStatus always_accept_cert_cb(void *, PRFileDesc *, PRBool, PRBool); static SECStatus always_accept_cert_cb(void *, PRFileDesc *, PRBool, PRBool);