aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2026-01-25 18:50:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2026-01-25 19:15:42 +0100
commitb04d93df7de0ac51b65050ae5fc1f70e83b203da (patch)
treeec1ba05dacd338dd35414302bc0ec0a7221de3a8
parent7489e1dd5817f499ef932399e8365e0c925adf81 (diff)
downloaduclibc-ng-master.zip
uclibc-ng-master.tar.gz
uclibc-ng-master.tar.bz2
fix gettid() declarationHEADmaster
See github bug report #16.
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 0fd4305..bfb6ecc 100644
--- a/include/unistd.h
+++ b/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