[tor-commits] [tor/master] Suppress strict-prototypes warning in crypto_nss_mgt.c
nickm at torproject.org
nickm at torproject.org
Wed Sep 5 00:47:13 UTC 2018
commit f83b417bf819ef0cc5f6ff31dd683a53cd7f90f2
Author: Nick Mathewson <nickm at torproject.org>
Date: Thu Aug 2 08:41:33 2018 -0400
Suppress strict-prototypes warning in crypto_nss_mgt.c
---
src/lib/crypt_ops/crypto_nss_mgt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/crypt_ops/crypto_nss_mgt.c b/src/lib/crypt_ops/crypto_nss_mgt.c
index 6bcaeabd5..89ef01921 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)
More information about the tor-commits
mailing list