From aeded841430797cf6f57896a1b74eaa00e0dd056 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 26 Mar 2002 22:07:38 +0000 Subject: Eliminate some thread pointers which do not make sense anymore. Split private parts of geom.h into geom_int.h. The latter should never be included in class implemtations. --- sys/geom/geom_io.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/geom/geom_io.c') diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index c0eded7..5d1fdc1 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -53,6 +53,7 @@ #include #include +#include static struct g_bioq g_bio_run_down; static struct g_bioq g_bio_run_up; @@ -163,7 +164,7 @@ g_io_init() } int -g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr, struct thread *tp __unused) +g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr) { struct bio *bp; int error; @@ -192,7 +193,7 @@ g_io_setattr(char *attr, struct g_consumer *cp, int len, void *ptr, struct threa int -g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr, struct thread *tp __unused) +g_io_getattr(char *attr, struct g_consumer *cp, int *len, void *ptr) { struct bio *bp; int error; -- cgit v1.1