[PATCH] Fix pselect
Jakub Jelinek
jakub@redhat.com
Thu Jan 19 09:22:00 GMT 2006
Hi!
__pselect is prototyped in include/sys/select.h, so can't be static
(or the prototype would need to be removed).
2006-01-19 Jakub Jelinek <jakub@redhat.com>
* misc/pselect.c (__pselect): Remove static.
--- libc/misc/pselect.c.jj 2006-01-19 09:45:10.000000000 +0100
+++ libc/misc/pselect.c 2006-01-19 09:45:10.000000000 +0100
@@ -30,7 +30,7 @@
after waiting the interval specified therein. Additionally set the sigmask
SIGMASK for this call. Returns the number of ready descriptors, or -1 for
errors. */
-static int
+int
__pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
const struct timespec *timeout, const sigset_t *sigmask)
{
Jakub
More information about the Libc-hacker
mailing list