summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-09-05 09:31:14 +0000
committerbde <bde@FreeBSD.org>2002-09-05 09:31:14 +0000
commitbc9d1cf8e128671fc6a4dbc9f77f2f5ae76e970e (patch)
tree41041a52d24261f3adf3ba03d81ee64b0df4e6a1 /sys
parent8b70b44d95b1cba2fc8599b83e0a81d13c643e8e (diff)
downloadFreeBSD-src-bc9d1cf8e128671fc6a4dbc9f77f2f5ae76e970e.zip
FreeBSD-src-bc9d1cf8e128671fc6a4dbc9f77f2f5ae76e970e.tar.gz
Forward declare struct uio so that <sys/uio.h> isn't a prerequisite.
Removed bogus forward declarations of structs.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/bio.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 61e53d7..d5a9b70 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -45,9 +45,6 @@
#include <sys/queue.h>
struct bio;
-struct buf;
-struct g_consumer;
-struct g_provider;
struct iodone_chain {
long ic_prev_flags;
@@ -108,6 +105,8 @@ struct bio {
#ifdef _KERNEL
+struct uio;
+
static __inline__ void
biodone(struct bio *bp)
{
OpenPOWER on IntegriCloud