summaryrefslogtreecommitdiff
path: root/nptl
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
parentUpdate. (diff)
downloadglibc-ad3bf20cbaea7854c5ade9b34c134c3a05a2b09e.tar.gz
glibc-ad3bf20cbaea7854c5ade9b34c134c3a05a2b09e.tar.bz2
glibc-ad3bf20cbaea7854c5ade9b34c134c3a05a2b09e.zip
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')
-rw-r--r--nptl/sem_destroy.c4
-rw-r--r--nptl/sem_getvalue.c4
-rw-r--r--nptl/sem_init.c4
3 files changed, 12 insertions, 0 deletions
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