summaryrefslogtreecommitdiff
path: root/nptl/sem_init.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_init.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_init.c')
-rw-r--r--nptl/sem_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sem_init.c b/nptl/sem_init.c
index c8b80ff8c4..8709911ac3 100644
--- a/nptl/sem_init.c
+++ b/nptl/sem_init.c
@@ -49,3 +49,7 @@ __new_sem_init (sem, pshared, value)
return 0;
}
versioned_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1);
+#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)
+strong_alias (__new_sem_init, __old_sem_init)
+compat_symbol (libpthread, __old_sem_init, sem_init, GLIBC_2_0);
+#endif