[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Suppress strict-prototypes warning in crypto_nss_mgt.c



commit f83b417bf819ef0cc5f6ff31dd683a53cd7f90f2
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Aug 2 08:41:33 2018 -0400

    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 6bcaeabd5..89ef01921 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 <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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits