浏览代码

Suppress strict-prototypes warning in crypto_nss_mgt.c

Nick Mathewson 7 年之前
父节点
当前提交
f83b417bf8
共有 1 个文件被更改,包括 2 次插入0 次删除
  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/log.h"
 #include "lib/log/util_bug.h"
 #include "lib/log/util_bug.h"
 
 
+DISABLE_GCC_WARNING(strict-prototypes)
 #include <nss.h>
 #include <nss.h>
 #include <pk11func.h>
 #include <pk11func.h>
 #include <ssl.h>
 #include <ssl.h>
@@ -22,6 +23,7 @@
 #include <prerror.h>
 #include <prerror.h>
 #include <prtypes.h>
 #include <prtypes.h>
 #include <prinit.h>
 #include <prinit.h>
+ENABLE_GCC_WARNING(strict-prototypes)
 
 
 const char *
 const char *
 crypto_nss_get_version_str(void)
 crypto_nss_get_version_str(void)