From: Nick Mathewson Date: Thu, 2 Aug 2018 12:41:33 +0000 (-0400) Subject: Suppress strict-prototypes warning in crypto_nss_mgt.c X-Git-Tag: tor-0.3.5.1-alpha~92^2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83b417bf819ef0cc5f6ff31dd683a53cd7f90f2;p=thirdparty%2Ftor.git Suppress strict-prototypes warning in crypto_nss_mgt.c --- 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)