瀏覽代碼

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

Nick Mathewson 6 年之前
父節點
當前提交
5d950f3edd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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