From f83b417bf819ef0cc5f6ff31dd683a53cd7f90f2 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 2 Aug 2018 08:41:33 -0400 Subject: [PATCH] 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 6bcaeabd5a..89ef019218 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 #include #include @@ -22,6 +23,7 @@ #include #include #include +ENABLE_GCC_WARNING(strict-prototypes) const char * crypto_nss_get_version_str(void)