[tor-commits] [tor/master] Fix a compilation warning: function does not have to be STATIC.

nickm at torproject.org nickm at torproject.org
Mon May 13 18:35:30 UTC 2019


commit 5d950f3edd7f9c46f0149327c20c01a5f1cc40e2
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon May 13 14:34:16 2019 -0400

    Fix a compilation warning: function does not have to be STATIC.
---
 src/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
index f21cf113c..58e8e053c 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



More information about the tor-commits mailing list