Sun Dec 28 21:24:10 2008 UTC ()
add fwd decl.


(christos)
diff -r1.1.2.1 -r1.1.2.2 src/sys/compat/sys/poll.h

cvs diff -r1.1.2.1 -r1.1.2.2 src/sys/compat/sys/poll.h (expand / switch to unified diff)

--- src/sys/compat/sys/poll.h 2008/11/08 21:16:56 1.1.2.1
+++ src/sys/compat/sys/poll.h 2008/12/28 21:24:10 1.1.2.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: poll.h,v 1.1.2.1 2008/11/08 21:16:56 christos Exp $ */ 1/* $NetBSD: poll.h,v 1.1.2.2 2008/12/28 21:24:10 christos Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. 4 * Copyright (c) 1998 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Charles M. Hannum. 8 * by Charles M. Hannum.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -29,25 +29,26 @@ @@ -29,25 +29,26 @@
29 * POSSIBILITY OF SUCH DAMAGE. 29 * POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32#ifndef _COMPAT_SYS_POLL_H_ 32#ifndef _COMPAT_SYS_POLL_H_
33#define _COMPAT_SYS_POLL_H_ 33#define _COMPAT_SYS_POLL_H_
34 34
35#ifndef _KERNEL 35#ifndef _KERNEL
36#include <sys/poll.h> 36#include <sys/poll.h>
37#include <sys/cdefs.h> 37#include <sys/cdefs.h>
38 38
39#ifdef _NETBSD_SOURCE 39#ifdef _NETBSD_SOURCE
40#include <sys/sigtypes.h> /* for sigset_t */ 40#include <sys/sigtypes.h> /* for sigset_t */
41struct timespec; 41struct timespec;
 42struct timespec50;
42 43
43__BEGIN_DECLS 44__BEGIN_DECLS
44int pollts(struct pollfd * __restrict, nfds_t, 45int pollts(struct pollfd * __restrict, nfds_t,
45 const struct timespec50 * __restrict, const sigset_t * __restrict); 46 const struct timespec50 * __restrict, const sigset_t * __restrict);
46int __pollts50(struct pollfd * __restrict, nfds_t, 47int __pollts50(struct pollfd * __restrict, nfds_t,
47 const struct timespec * __restrict, const sigset_t * __restrict); 48 const struct timespec * __restrict, const sigset_t * __restrict);
48__END_DECLS 49__END_DECLS
49#endif /* _NETBSD_SOURCE */ 50#endif /* _NETBSD_SOURCE */
50 51
51#endif /* _KERNEL */ 52#endif /* _KERNEL */
52 53
53#endif /* !_COMPAT_SYS_POLL_H_ */ 54#endif /* !_COMPAT_SYS_POLL_H_ */