From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17693 invoked by alias); 19 Jan 2006 09:22:59 -0000 Received: (qmail 17672 invoked by uid 22791); 19 Jan 2006 09:22:58 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jan 2006 09:22:56 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k0J9MdPf001426; Thu, 19 Jan 2006 10:22:39 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k0J9MdOJ001425; Thu, 19 Jan 2006 10:22:39 +0100 Date: Thu, 19 Jan 2006 09:22:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , Roland McGrath Cc: Glibc hackers Subject: [PATCH] Fix pselect Message-ID: <20060119092239.GJ4625@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00078.txt.bz2 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 * 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