summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-04-30 00:19:33 +0000
committerwtchang%redhat.com <devnull@localhost>2005-04-30 00:19:33 +0000
commitb0dbb161c879365cdb02ee5923ae927baf6eb58e (patch)
treece8c175579010ddee702e7b1440529e8a9ef14e9
parent2ff1f44adf7b537532cb54225f90e0b87729b296 (diff)
downloadnspr-hg-b0dbb161c879365cdb02ee5923ae927baf6eb58e.tar.gz
Bugzilla Bug 269591: use the poll prototype in current OpenBSD releases.
-rw-r--r--pr/src/md/unix/uxwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/md/unix/uxwrap.c b/pr/src/md/unix/uxwrap.c
index 8f69de86..ef226a6b 100644
--- a/pr/src/md/unix/uxwrap.c
+++ b/pr/src/md/unix/uxwrap.c
@@ -345,7 +345,7 @@ int poll(struct pollfd filedes[], int nfds, int timeout)
#elif defined(NETBSD)
int poll(struct pollfd *filedes, nfds_t nfds, int timeout)
#elif defined(OPENBSD)
-int poll(struct pollfd *filedes, int nfds, int timeout)
+int poll(struct pollfd filedes[], nfds_t nfds, int timeout)
#elif defined(FREEBSD)
int poll(struct pollfd *filedes, unsigned nfds, int timeout)
#else