summaryrefslogtreecommitdiff
path: root/io/sys/poll.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/sys/poll.h')
-rw-r--r--io/sys/poll.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/io/sys/poll.h b/io/sys/poll.h
index 9cb60e72ea..ac9c634e9d 100644
--- a/io/sys/poll.h
+++ b/io/sys/poll.h
@@ -1,5 +1,5 @@
/* Compatibility definitions for System V `poll' interface.
- Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1996, 1997, 1998, 1999 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
@@ -41,10 +41,10 @@ struct pollfd
an event to occur; if TIMEOUT is -1, block until an event occurs.
Returns the number of file descriptors with events, zero if timed out,
or -1 for errors. */
-extern int __poll __P ((struct pollfd *__fds, unsigned long int __nfds,
- int __timeout));
-extern int poll __P ((struct pollfd *__fds, unsigned long int __nfds,
- int __timeout));
+extern int __poll (struct pollfd *__fds, unsigned long int __nfds,
+ int __timeout) __THROW;
+extern int poll (struct pollfd *__fds, unsigned long int __nfds, int __timeout)
+ __THROW;
__END_DECLS