summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-05-06 15:23:51 -0700
committerRoland McGrath <roland@hack.frob.com>2013-05-06 15:23:51 -0700
commit355f916505e3101f1952fd1a8e2c4c69b52cc36a (patch)
tree2ee50d5a35442769ca0fb8cf983ff38095a7b4a4 /io
parentbd9ffde61a27945abf0498b5c562f9bf0dcc6419 (diff)
downloadglibc-355f916505e3101f1952fd1a8e2c4c69b52cc36a.tar.gz
glibc-355f916505e3101f1952fd1a8e2c4c69b52cc36a.tar.xz
glibc-355f916505e3101f1952fd1a8e2c4c69b52cc36a.zip
Fix poll stub implementation.
Diffstat (limited to 'io')
-rw-r--r--io/poll.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/io/poll.c b/io/poll.c
index fadad38991..aa4c2d07e3 100644
--- a/io/poll.c
+++ b/io/poll.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1994-2013 Free Software Foundation, Inc.
+/* Poll (or wait) for file descriptor I/O availability.  Stub version.
+   Copyright (C) 1994-2013 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
@@ -25,13 +26,12 @@
    or -1 for errors.  */
 
 int
-poll (fds, nfds, timeout)
-     struct pollfd *fds;
-     nfds_t nfds;
-     int timeout;
+__poll (struct pollfd *fds, nfds_t nfds, int timeout)
 {
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__poll)
+weak_alias (__poll, poll)
 
 stub_warning (poll)