From bfc73ba2b6a817204d4e3f271607b015a7985d91 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 Jun 1998 13:02:56 +0000 Subject: Update. 1998-06-27 12:58 Ulrich Drepper * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias. --- sysdeps/unix/bsd/poll.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/bsd') diff --git a/sysdeps/unix/bsd/poll.c b/sysdeps/unix/bsd/poll.c index 972cd01..e92b718 100644 --- a/sysdeps/unix/bsd/poll.c +++ b/sysdeps/unix/bsd/poll.c @@ -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 -- cgit v1.1