parent
bfc73ba2b6
commit
19c36e3337
|
@ -1,6 +1,7 @@
|
||||||
1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
|
1998-06-27 12:58 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
|
* 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>
|
1998-06-27 7:07 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ static int __emulate_poll __P ((struct pollfd *fds, unsigned long int nfds,
|
||||||
|
|
||||||
/* The real implementation. */
|
/* The real implementation. */
|
||||||
int
|
int
|
||||||
poll (fds, nfds, timeout)
|
__poll (fds, nfds, timeout)
|
||||||
struct pollfd *fds;
|
struct pollfd *fds;
|
||||||
unsigned long int nfds;
|
unsigned long int nfds;
|
||||||
int timeout;
|
int timeout;
|
||||||
|
@ -58,10 +58,10 @@ poll (fds, nfds, timeout)
|
||||||
|
|
||||||
return __emulate_poll (fds, nfds, timeout);
|
return __emulate_poll (fds, nfds, timeout);
|
||||||
}
|
}
|
||||||
|
weak_alias (__poll, poll)
|
||||||
|
|
||||||
/* Get the emulation code. */
|
/* Get the emulation code. */
|
||||||
# define poll(fds, nfds, timeout) \
|
# define __poll(fds, nfds, timeout) \
|
||||||
static internal_function __emulate_poll (fds, nfds, timeout)
|
static internal_function __emulate_poll (fds, nfds, timeout)
|
||||||
#endif
|
#endif
|
||||||
#include <sysdeps/unix/bsd/poll.c>
|
#include <sysdeps/unix/bsd/poll.c>
|
||||||
|
|
Loading…
Reference in New Issue