aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-01 15:30:12 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-01 15:30:12 -0400
commit3566ff05fd9b4b0e0d6c2667f11f769b63aeee4d (patch)
tree381228c37fa6e5783195f284ccfd1f4a50187609
parentaaa31290431ea2cd1d1e8498dbe271eb53d2389d (diff)
downloadtor-3566ff05fd9b4b0e0d6c2667f11f769b63aeee4d.tar.gz
tor-3566ff05fd9b4b0e0d6c2667f11f769b63aeee4d.zip
Fix a -Wmissing-variable-declarations warning
-rw-r--r--src/test/test_shared_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 20ed0871d7..141c12b4f7 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"