aboutsummaryrefslogtreecommitdiff
path: root/nptl/sem_getvalue.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sem_getvalue.c')
-rw-r--r--nptl/sem_getvalue.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/sem_getvalue.c b/nptl/sem_getvalue.c
index 967a0a016b..7d3a596e8c 100644
--- a/nptl/sem_getvalue.c
+++ b/nptl/sem_getvalue.c
@@ -42,8 +42,13 @@ __new_sem_getvalue (sem_t *sem, int *sval)
return 0;
}
-versioned_symbol (libpthread, __new_sem_getvalue, sem_getvalue, GLIBC_2_1);
-#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+versioned_symbol (libc, __new_sem_getvalue, sem_getvalue, GLIBC_2_34);
+
+#if OTHER_SHLIB_COMPAT(libpthread, GLIBC_2_1, GLIBC_2_34)
+compat_symbol (libpthread, __new_sem_getvalue, sem_getvalue, GLIBC_2_1);
+#endif
+
+#if OTHER_SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
int
__old_sem_getvalue (sem_t *sem, int *sval)
{