aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-09-05 09:31:14 +0000
committerBruce Evans <bde@FreeBSD.org>2002-09-05 09:31:14 +0000
commitf615ab288625e21472c480865e2549d8adb1a99a (patch)
tree41041a52d24261f3adf3ba03d81ee64b0df4e6a1 /sys/sys/bio.h
parenta2f0974b199d3a89c37ea22a2e27b01c33d48d32 (diff)
downloadsrc-f615ab288625e21472c480865e2549d8adb1a99a.tar.gz
src-f615ab288625e21472c480865e2549d8adb1a99a.zip
Forward declare struct uio so that <sys/uio.h> isn't a prerequisite.
Removed bogus forward declarations of structs.
Notes
Notes: svn path=/head/; revision=102956
Diffstat (limited to 'sys/sys/bio.h')
-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 61e53d707580..d5a9b7008625 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)
{