summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2002-09-13 01:36:07 +0000
committernaddy <naddy@openbsd.org>2002-09-13 01:36:07 +0000
commitabf8c1c2c29195d8cc1894d935a02b20479ae4ff (patch)
treec7d5ffbb32c3ce5e28024ead0d62993936f4f9c8
parentAdd -H option to hide nonexistent users (useful on NAT gateways). ok millert@ (diff)
downloadwireguard-openbsd-abf8c1c2c29195d8cc1894d935a02b20479ae4ff.tar.xz
wireguard-openbsd-abf8c1c2c29195d8cc1894d935a02b20479ae4ff.zip
allow inclusion from C++; ok deraadt@
-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 d20bc1ba383..2a8aa2b8425 100644
--- a/sys/sys/poll.h
+++ b/sys/sys/poll.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: poll.h,v 1.7 2002/03/14 01:27:14 millert Exp $ */
+/* $OpenBSD: poll.h,v 1.8 2002/09/13 01:36:07 naddy Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt
@@ -52,7 +52,9 @@ struct pollfd {
#ifndef _KERNEL
#include <ctype.h>
+__BEGIN_DECLS
int poll(struct pollfd[], int, int);
+__END_DECLS
#endif /* _KERNEL */
#endif /* !_SYS_POLL_H_ */