aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/sem-post.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/sem-post.c')
-rw-r--r--sysdeps/htl/sem-post.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/htl/sem-post.c b/sysdeps/htl/sem-post.c
index 36f20f9..419a5ec 100644
--- a/sysdeps/htl/sem-post.c
+++ b/sysdeps/htl/sem-post.c
@@ -23,6 +23,7 @@
#include <hurd.h>
#include <pt-internal.h>
+#include <shlib-compat.h>
int
__sem_post (sem_t *sem)
@@ -61,5 +62,8 @@ __sem_post (sem_t *sem)
return 0;
}
-libpthread_hidden_def (__sem_post)
-strong_alias (__sem_post, sem_post);
+libc_hidden_def (__sem_post)
+versioned_symbol (libc, __sem_post, sem_post, GLIBC_2_43);
+# if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_43)
+compat_symbol (libpthread, __sem_post, sem_post, GLIBC_2_12);
+#endif