aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/no-tsd.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-02 07:08:20 +0000
committerRoland McGrath <roland@gnu.org>2002-09-02 07:08:20 +0000
commit4032add80a847ddff3dff9d85163fc119013b9e2 (patch)
tree995d8b0a37179e24e6c1638d7b5c41602177820d /linuxthreads/no-tsd.c
parentd20fec5d65b16c42b391d1e95df73b3a8366fe16 (diff)
downloadglibc-4032add80a847ddff3dff9d85163fc119013b9e2.tar
glibc-4032add80a847ddff3dff9d85163fc119013b9e2.tar.gz
glibc-4032add80a847ddff3dff9d85163fc119013b9e2.tar.bz2
glibc-4032add80a847ddff3dff9d85163fc119013b9e2.zip
2002-09-01 Roland McGrath <roland@redhat.com>
* sysdeps/pthread/bits/libc-tsd.h (__libc_tsd_address): New macro. (__libc_internal_tsd_address): Declare it. * Versions (libc, ld, libpthread: GLIBC_PRIVATE): Add __libc_internal_tsd_address. * specific.c (libc_internal_tsd_address): New function. (__libc_internal_tsd_address): New variable. * no-tsd.c (__libc_internal_tsd_address): New variable.
Diffstat (limited to 'linuxthreads/no-tsd.c')
-rw-r--r--linuxthreads/no-tsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/no-tsd.c b/linuxthreads/no-tsd.c
index f3ae190b4f..099e7b49ae 100644
--- a/linuxthreads/no-tsd.c
+++ b/linuxthreads/no-tsd.c
@@ -34,5 +34,7 @@
void *(*__libc_internal_tsd_get) (enum __libc_tsd_key_t);
int (*__libc_internal_tsd_set) (enum __libc_tsd_key_t,
__const void *);
+void **(*__libc_internal_tsd_address) (enum __libc_tsd_key_t)
+ __THROW __attribute__ ((__const__));
#endif /* !(USE_TLS && HAVE___THREAD) */