diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/Makefile | 2 | ||||
-rw-r--r-- | nptl/semaphoreP.h | 21 |
2 files changed, 1 insertions, 22 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index c49134b936..8fb7fee6db 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -137,7 +137,7 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \ pthread_once \ old_pthread_atfork \ pthread_getcpuclockid \ - sem_init sem_destroy \ + sem_init sem_destroy sem_routines \ sem_open sem_close sem_unlink \ sem_getvalue \ sem_wait sem_timedwait sem_clockwait sem_post \ diff --git a/nptl/semaphoreP.h b/nptl/semaphoreP.h index 3585af09fc..1b786149f4 100644 --- a/nptl/semaphoreP.h +++ b/nptl/semaphoreP.h @@ -22,27 +22,6 @@ #define SEM_SHM_PREFIX "sem." -/* Keeping track of currently used mappings. */ -struct inuse_sem -{ - dev_t dev; - ino_t ino; - int refcnt; - sem_t *sem; - char name[]; -}; - - -/* The search tree for existing mappings. */ -extern void *__sem_mappings attribute_hidden; - -/* Lock to protect the search tree. */ -extern int __sem_mappings_lock attribute_hidden; - - -/* Comparison function for search in tree with existing mappings. */ -extern int __sem_search (const void *a, const void *b) attribute_hidden; - static inline void __new_sem_open_init (struct new_sem *sem, unsigned value) { #if __HAVE_64B_ATOMICS |