tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 5d950f3edd7f9c46f0149327c20c01a5f1cc40e2
parent 9ad2eb8f73b70292e36511424d676b223d4cdff0
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 13 May 2019 14:34:16 -0400

Fix a compilation warning: function does not have to be STATIC.

Diffstat:
Msrc/core/or/circuitpadding.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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