summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-18 21:37:44 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-18 21:37:44 +0000
commit678a887f60c84a41466d9227c3c9e69ec4d153d6 (patch)
tree50a12187c5c9928ac2d4bbe14240fa7293fc07f1 /libc/sysdeps/linux/common
parentcc3c59c913cdf1868730ff4bfd1ffa7e2980f309 (diff)
Bernd Schmidt writes: The following patch is needed for libc to be able to emulate poll with ppoll.
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/ppoll.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/ppoll.c b/libc/sysdeps/linux/common/ppoll.c
index 3c4d3410b..ab96e8ba4 100644
--- a/libc/sysdeps/linux/common/ppoll.c
+++ b/libc/sysdeps/linux/common/ppoll.c
@@ -22,6 +22,8 @@
#ifdef __NR_ppoll
+libc_hidden_proto(ppoll)
+
# define __NR___libc_ppoll __NR_ppoll
static inline
_syscall4(int, __libc_ppoll, struct pollfd *, fds,
@@ -43,5 +45,6 @@ ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
return __libc_ppoll(fds, nfds, timeout, sigmask);
}
+libc_hidden_def(ppoll)
#endif