]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 27 Jun 1998 13:16:32 +0000 (13:16 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 27 Jun 1998 13:16:32 +0000 (13:16 +0000)
* sysdeps/unix/sysv/linux/poll.c: Likewise.

ChangeLog
sysdeps/unix/sysv/linux/poll.c

index 7dce45aa5228515aab12eb9970857d2fa70232ba..de5184b588eb0dc965e1a44492f1ea351cc4f25e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
 
        * 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  <rth@cygnus.com>
 
index e37df4cb9eaa71ab99eb7b45a4ac6b0011687956..8119a974c1c17e32b5e5d8c21153b2ec98620761 100644 (file)
@@ -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 <sysdeps/unix/bsd/poll.c>