glibc/sysdeps/htl/include/semaphore.h
Florian Weimer 1fb7dc751e htl: Add wrapper header for <semaphore.h> with hidden __sem_post
This is required to avoid a check-localplt failure due to a
sem_post call through the PLT.

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2020-06-24 13:38:08 +02:00

10 lines
157 B
C

#ifndef _SEMAPHORE_H
#include_next <semaphore.h>
#ifndef _ISOMAC
extern __typeof (sem_post) __sem_post;
libpthread_hidden_proto (__sem_post)
#endif
#endif