summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-08-21 12:25:09 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-08-21 12:25:09 +0000
commitd542b794dfb9c1fef70b66fc7a49b7d18bcb6cf4 (patch)
tree3172a2c80a6dfb0a3d511a3c01a9c4ff4d29bc7a /sys
parent3d0106e334c50bd3a7135c144640a2c380eae578 (diff)
downloadFreeBSD-src-d542b794dfb9c1fef70b66fc7a49b7d18bcb6cf4.zip
FreeBSD-src-d542b794dfb9c1fef70b66fc7a49b7d18bcb6cf4.tar.gz
Synchronize the poll() prototype with the one provided in the
poll(2) manual page. PR: 20677 Submitted by: "Ralf S. Engelschall" <rse@engelschall.com>
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/poll.h b/sys/sys/poll.h
index a2ba6de..9358c12 100644
--- a/sys/sys/poll.h
+++ b/sys/sys/poll.h
@@ -100,7 +100,7 @@ __BEGIN_DECLS
* XXX poll() has "unsigned long" nfds on SVR4, not unsigned as on the
* other BSDs.
*/
-int poll __P((struct pollfd *_pfd, unsigned _nfds, int _timeout));
+int poll __P((struct pollfd *_pfd, unsigned int _nfds, int _timeout));
__END_DECLS
#endif /* !_KERNEL */
OpenPOWER on IntegriCloud