summaryrefslogtreecommitdiff
path: root/nptl/sem_getvalue.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-16 23:38:42 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-16 23:38:42 +0000
commitad3bf20cbaea7854c5ade9b34c134c3a05a2b09e (patch)
tree3c9a841f2bf966e4da24b94dea52832d071b61df /nptl/sem_getvalue.c
parent0a1063f471355de723393cb968ac9324de1d185d (diff)
downloadglibc-ad3bf20cbaea7854c5ade9b34c134c3a05a2b09e.tar.gz
Update.
* sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create, epoll_ctl, and epoll_wait. * sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add epoll_create, epoll_ctl, and epoll_wait. * sysdeps/unix/sysv/linux/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h. * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add sys/epoll.h. 2002-12-16 Art Haas <ahaas@airmail.net> * sysdeps/generic/bp-semctl.h: Convert GCC extension initializer syntax to C99 * sysdeps/unix/sysv/aix/settimer.c: Same. * sysdeps/unix/sysv/aix/sleep.c: Same. * sysdeps/unix/sysv/aix/usleep.c: Same. 2002-12-16 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'nptl/sem_getvalue.c')
-rw-r--r--nptl/sem_getvalue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sem_getvalue.c b/nptl/sem_getvalue.c
index ee976c3fb6..6bc7ea82b4 100644
--- a/nptl/sem_getvalue.c
+++ b/nptl/sem_getvalue.c
@@ -36,3 +36,7 @@ __new_sem_getvalue (sem, sval)
return 0;
}
versioned_symbol (libpthread, __new_sem_getvalue, sem_getvalue, GLIBC_2_1);
+#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+strong_alias (__new_sem_getvalue, __old_sem_getvalue)
+compat_symbol (libpthread, __old_sem_getvalue, sem_getvalue, GLIBC_2_0);
+#endif