From: Ulrich Drepper Date: Sat, 27 Jun 1998 13:16:32 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_0_95~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19c36e333722962398eb281fd7201ac45f5eb572;p=thirdparty%2Fglibc.git Update. * sysdeps/unix/sysv/linux/poll.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 7dce45aa522..de5184b588e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 1998-06-27 12:58 Ulrich Drepper * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias. + * sysdeps/unix/sysv/linux/poll.c: Likewise. 1998-06-27 7:07 Richard Henderson diff --git a/sysdeps/unix/sysv/linux/poll.c b/sysdeps/unix/sysv/linux/poll.c index e37df4cb9ea..8119a974c1c 100644 --- a/sysdeps/unix/sysv/linux/poll.c +++ b/sysdeps/unix/sysv/linux/poll.c @@ -32,7 +32,7 @@ static int __emulate_poll __P ((struct pollfd *fds, unsigned long int nfds, /* The real implementation. */ int -poll (fds, nfds, timeout) +__poll (fds, nfds, timeout) struct pollfd *fds; unsigned long int nfds; int timeout; @@ -58,10 +58,10 @@ poll (fds, nfds, timeout) return __emulate_poll (fds, nfds, timeout); } - +weak_alias (__poll, poll) /* Get the emulation code. */ -# define poll(fds, nfds, timeout) \ +# define __poll(fds, nfds, timeout) \ static internal_function __emulate_poll (fds, nfds, timeout) #endif #include