소스 검색

fix gettid() declaration

See github bug report #16.
Waldemar Brodkorb 2 주 전
부모
커밋
b04d93df7d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/unistd.h

+ 1 - 1
include/unistd.h

@@ -1260,7 +1260,7 @@ extern int getentropy(void *__buf, size_t __len) __nonnull ((1)) __wur;
 #endif
 
 #if (defined _GNU_SOURCE && defined __UCLIBC_HAS_THREADS_NATIVE__)
-pid_t gettid(void);
+extern __pid_t gettid(void);
 #endif
 
 __END_DECLS