diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-25 13:26:39 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-25 13:26:43 -0400 |
commit | 81c47932329456dfff9370fb372d4f721cd1a628 (patch) | |
tree | 02b25f8512aaecb1bde298c83e1f7541253644d2 /src/test | |
parent | 90e8d1f58fb77eb15c59c1bd846aabe1555b64f2 (diff) | |
download | tor-81c47932329456dfff9370fb372d4f721cd1a628.tar.gz tor-81c47932329456dfff9370fb372d4f721cd1a628.zip |
Make testing rend1_payload variables static
This fixes a clang warning.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_hs_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 859476b703..9494739b32 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -1370,8 +1370,8 @@ test_revision_counter_state(void *arg) } /** Global vars used by test_rendezvous1_parsing() */ -char rend1_payload[RELAY_PAYLOAD_SIZE]; -size_t rend1_payload_len = 0; +static char rend1_payload[RELAY_PAYLOAD_SIZE]; +static size_t rend1_payload_len = 0; /** Mock for relay_send_command_from_edge() to send a RENDEZVOUS1 cell. Instead * of sending it to the network, instead save it to the global `rend1_payload` |