Forráskód Böngészése

fix gettid() declaration

See github bug report #16.
Waldemar Brodkorb 2 hete
szülő
commit
b04d93df7d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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