소스 검색

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/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)