]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Suppress strict-prototypes warning in crypto_nss_mgt.c
authorNick Mathewson <nickm@torproject.org>
Thu, 2 Aug 2018 12:41:33 +0000 (08:41 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 2 Aug 2018 12:41:33 +0000 (08:41 -0400)
src/lib/crypt_ops/crypto_nss_mgt.c

index 6bcaeabd5a705620483fc8794cf65e7f5d3406be..89ef0192188fe81cece944aea6d858d069bffd84 100644 (file)
@@ -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)