Explorar o código

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

Nick Mathewson %!s(int64=6) %!d(string=hai) anos
pai
achega
5d950f3edd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/or/circuitpadding.c

+ 1 - 1
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