From ad3bf20cbaea7854c5ade9b34c134c3a05a2b09e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Dec 2002 23:38:42 +0000 Subject: 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 * 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 --- nptl/sem_destroy.c | 4 ++++ nptl/sem_getvalue.c | 4 ++++ nptl/sem_init.c | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'nptl') diff --git a/nptl/sem_destroy.c b/nptl/sem_destroy.c index 790a80e316..1c823dc51e 100644 --- a/nptl/sem_destroy.c +++ b/nptl/sem_destroy.c @@ -32,3 +32,7 @@ __new_sem_destroy (sem) return 0; } versioned_symbol (libpthread, __new_sem_destroy, sem_destroy, GLIBC_2_1); +#if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1) +strong_alias (__new_sem_destroy, __old_sem_destroy) +compat_symbol (libpthread, __old_sem_destroy, sem_destroy, GLIBC_2_0); +#endif 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 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 -- cgit 1.4.1