diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2002-09-13 01:36:08 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2002-09-13 01:36:08 +0000 |
commit | 1af4eac02430fcaadea5e0c16c6acbe021fade03 (patch) | |
tree | 5e4e1540cf28f43e0be67dbc90e3b94a695d5a95 /sys | |
parent | 042dbed6bd46ee5292b23d8fa8bc3fff3a266a6c (diff) |
allow inclusion from C++; ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/poll.h | 4 |
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_ */ |