소스 검색

C style fix: a no-args function is void fn(void), not void fn().

Nick Mathewson 13 년 전
부모
커밋
f608872b0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/tortls.c

+ 1 - 1
src/common/tortls.c

@@ -160,7 +160,7 @@ static int tor_tls_object_ex_data_index = -1;
 
 /** Helper: Allocate tor_tls_object_ex_data_index. */
 static void
-tor_tls_allocate_tor_tls_object_ex_data_index()
+tor_tls_allocate_tor_tls_object_ex_data_index(void)
 {
   if (tor_tls_object_ex_data_index == -1) {
     tor_tls_object_ex_data_index =