diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-08 15:38:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-08 15:38:05 -0400 |
commit | 2e4f3b36bdfd5118a523b3fdbfadc0415daa0635 (patch) | |
tree | ae3a4b4d00433d359a4a7357b30cd58ef5afdabb /src/test/test_channelpadding.c | |
parent | 4d6c79d1de5e242c000f28a71c706734d1a2da0b (diff) | |
download | tor-2e4f3b36bdfd5118a523b3fdbfadc0415daa0635.tar.gz tor-2e4f3b36bdfd5118a523b3fdbfadc0415daa0635.zip |
clang-i386: use house style for public-when-testing variables
This fixes a warning from jenkins.
Diffstat (limited to 'src/test/test_channelpadding.c')
-rw-r--r-- | src/test/test_channelpadding.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c index 68d5c5858a..5d118423e2 100644 --- a/src/test/test_channelpadding.c +++ b/src/test/test_channelpadding.c @@ -1,4 +1,6 @@ #define TOR_CHANNEL_INTERNAL_ +#define MAIN_PRIVATE +#define NETWORKSTATUS_PRIVATE #include "or.h" #include "test.h" #include "testsupport.h" @@ -11,12 +13,10 @@ #include "config.h" #include <event.h> #include "compat_time.h" +#include "main.h" +#include "networkstatus.h" #include "log_test_helpers.h" -extern smartlist_t *connection_array; -extern networkstatus_t *current_ns_consensus; -extern networkstatus_t *current_md_consensus; - int channelpadding_get_netflow_inactive_timeout_ms(channel_t *chan); int64_t channelpadding_compute_time_until_pad_for_netflow(channel_t *chan); int channelpadding_send_disable_command(channel_t*); |