Browse Source

Suppress strict-prototypes warning in crypto_nss_mgt.c

Nick Mathewson 5 years ago
parent
commit
f83b417bf8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/crypt_ops/crypto_nss_mgt.c

+ 2 - 0
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)