diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:51 +0200 |
commit | 90e97b37201c9b33ee79296b6eb034d5d5db925c (patch) | |
tree | 753c30ec0d12b618541ed34c4892ec26ab2c5bba /sysdeps/generic | |
parent | fada9018199c21c469ff0e731ef75c6020074ac9 (diff) | |
download | glibc-90e97b37201c9b33ee79296b6eb034d5d5db925c.tar.gz glibc-90e97b37201c9b33ee79296b6eb034d5d5db925c.tar.xz glibc-90e97b37201c9b33ee79296b6eb034d5d5db925c.zip |
Remove pthread_key_create-related internals from libc-lock.h
And libc-lockP.h. This is no longer used because all internal TLS use goes directly to the thread descriptor/TCB or uses ELF TLS.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/libc-lock.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/generic/libc-lock.h b/sysdeps/generic/libc-lock.h index 6b1e98e34d..c538e858ea 100644 --- a/sysdeps/generic/libc-lock.h +++ b/sysdeps/generic/libc-lock.h @@ -125,16 +125,4 @@ /* We need portable names for some of the functions. */ #define __libc_mutex_unlock -/* Type for key of thread specific data. */ -typedef int __libc_key_t; - -/* Create key for thread specific data. */ -#define __libc_key_create(KEY,DEST) ((void) (KEY), (void) (DEST), -1) - -/* Set thread-specific data associated with KEY to VAL. */ -#define __libc_setspecific(KEY,VAL) ((void) (KEY), (void) (VAL)) - -/* Get thread-specific data associated with KEY. */ -#define __libc_getspecific(KEY) ((void) (KEY), (void *) 0) - #endif /* libc-lock.h */ |