summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-12 17:34:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-08-12 17:34:30 +0000
commitd741d4839f249c3f210a6fe8c839446a36dbab2f (patch)
treeb37978f08b11a8d5a907064df86dcd588fbd29ae /sys
parent3a9e1b3d51dfd2bbceb044853d68179fa8f155f4 (diff)
poll proto only for userland
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/poll.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/poll.h b/sys/sys/poll.h
index e29210f9687..fe8f143e90b 100644
--- a/sys/sys/poll.h
+++ b/sys/sys/poll.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: poll.h,v 1.3 1998/08/11 21:18:19 deraadt Exp $ */
+/* $OpenBSD: poll.h,v 1.4 1998/08/12 17:34:29 deraadt Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt
@@ -47,6 +47,8 @@ struct pollfd {
#define POLLRDBAND 0x0080
#define POLLWRBAND 0x0100
+#ifndef _KERNEL
int poll __P((struct pollfd[], int, int));
+#endif /* _KERNEL */
#endif /* !_SYS_POLL_H_ */