Sfoglia il codice sorgente

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

Nick Mathewson 6 anni fa
parent
commit
5d950f3edd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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