소스 검색

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