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

[tor-commits] [tor/master] Fix a -Wmissing-variable-declarations warning



commit 3566ff05fd9b4b0e0d6c2667f11f769b63aeee4d
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Fri Jul 1 15:30:12 2016 -0400

    Fix a -Wmissing-variable-declarations warning
---
 src/test/test_shared_random.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 20ed087..141c12b 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -593,7 +593,7 @@ test_vote(void *arg)
   UNMOCK(trusteddirserver_get_by_v3_auth_digest);
 }
 
-const char *sr_state_str = "Version 1\n"
+static const char *sr_state_str = "Version 1\n"
   "TorVersion 0.2.9.0-alpha-dev\n"
   "ValidAfter 2037-04-19 07:16:00\n"
   "ValidUntil 2037-04-20 07:16:00\n"

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