From b4a09d83d1568672b94fe91b678194409983b824 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Aug 2006 23:25:34 +0000 Subject: psm updates: add __libc symbols for signal cancellation --- libc/sysdeps/linux/common/pselect.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/pselect.c') diff --git a/libc/sysdeps/linux/common/pselect.c b/libc/sysdeps/linux/common/pselect.c index 93a85a622..3a958fcfc 100644 --- a/libc/sysdeps/linux/common/pselect.c +++ b/libc/sysdeps/linux/common/pselect.c @@ -23,6 +23,8 @@ #include #include +extern __typeof(pselect) __libc_pselect; + libc_hidden_proto(sigprocmask) libc_hidden_proto(select) @@ -34,7 +36,7 @@ libc_hidden_proto(select) SIGMASK for this call. Returns the number of ready descriptors, or -1 for errors. */ int -pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, +__libc_pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout, const sigset_t *sigmask) { struct timeval tval; @@ -64,3 +66,4 @@ pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, return retval; } +weak_alias(__libc_pselect,pselect) -- cgit v1.2.3