This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix pselect


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]