Parcourir la source

fix gettid() declaration

See github bug report #16.
Waldemar Brodkorb il y a 6 mois
Parent
commit
b04d93df7d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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