aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitpadding.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-05-13 14:34:16 -0400
committerNick Mathewson <nickm@torproject.org>2019-05-13 14:34:16 -0400
commit5d950f3edd7f9c46f0149327c20c01a5f1cc40e2 (patch)
tree7620f48d741dff5f34d3aabfc1977a63f7cbce99 /src/core/or/circuitpadding.c
parent9ad2eb8f73b70292e36511424d676b223d4cdff0 (diff)
downloadtor-5d950f3edd7f9c46f0149327c20c01a5f1cc40e2.tar.gz
tor-5d950f3edd7f9c46f0149327c20c01a5f1cc40e2.zip
Fix a compilation warning: function does not have to be STATIC.
Diffstat (limited to 'src/core/or/circuitpadding.c')
-rw-r--r--src/core/or/circuitpadding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/circuitpadding.c b/src/core/or/circuitpadding.c
index f21cf113cc..58e8e053c7 100644
--- a/src/core/or/circuitpadding.c
+++ b/src/core/or/circuitpadding.c
@@ -1107,7 +1107,7 @@ circpad_new_consensus_params(const networkstatus_t *ns)
/**
* Return true if padding is allowed by torrc and consensus.
*/
-STATIC bool
+static bool
circpad_is_padding_allowed(void)
{
/* If padding has been disabled in the consensus, don't send any more