1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
This commit is contained in:
Ulrich Drepper
1998-06-27 13:02:56 +00:00
parent 69bf5f7547
commit bfc73ba2b6
2 changed files with 9 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -29,7 +29,7 @@
or -1 for errors. */
int
poll (fds, nfds, timeout)
__poll (fds, nfds, timeout)
struct pollfd *fds;
unsigned long int nfds;
int timeout;
@ -79,3 +79,6 @@ poll (fds, nfds, timeout)
return ready;
}
#ifndef __poll
weak_alias (__poll, poll)
#endif