aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-08-02 08:41:33 -0400
committerNick Mathewson <nickm@torproject.org>2018-08-02 08:41:33 -0400
commitf83b417bf819ef0cc5f6ff31dd683a53cd7f90f2 (patch)
tree876ae0b783ac15aff7cb9171f1c33dc27a5b0e97 /src
parent727f1676d68fca00f2f40f166b5afda3a5728dc4 (diff)
downloadtor-f83b417bf819ef0cc5f6ff31dd683a53cd7f90f2.tar.gz
tor-f83b417bf819ef0cc5f6ff31dd683a53cd7f90f2.zip
Suppress strict-prototypes warning in crypto_nss_mgt.c
Diffstat (limited to 'src')
-rw-r--r--src/lib/crypt_ops/crypto_nss_mgt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_nss_mgt.c b/src/lib/crypt_ops/crypto_nss_mgt.c
index 6bcaeabd5a..89ef019218 100644
--- a/src/lib/crypt_ops/crypto_nss_mgt.c
+++ b/src/lib/crypt_ops/crypto_nss_mgt.c
@@ -15,6 +15,7 @@
#include "lib/log/log.h"
#include "lib/log/util_bug.h"
+DISABLE_GCC_WARNING(strict-prototypes)
#include <nss.h>
#include <pk11func.h>
#include <ssl.h>
@@ -22,6 +23,7 @@
#include <prerror.h>
#include <prtypes.h>
#include <prinit.h>
+ENABLE_GCC_WARNING(strict-prototypes)
const char *
crypto_nss_get_version_str(void)