diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/kd.c | 6 | ||||
-rw-r--r-- | i386/i386at/kd.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 14524bf..757bce2 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -83,7 +83,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <device/conf.h> #include <device/tty.h> #include <device/io_req.h> -#include <device/buf.h> /* for struct uio (!) */ +#include <device/buf.h> #include <vm/vm_kern.h> #include <i386/locore.h> #include <i386/loose_ends.h> @@ -526,7 +526,7 @@ int flag; int kdread(dev, uio) int dev; -struct uio *uio; +io_req_t uio; { struct tty *tp; @@ -551,7 +551,7 @@ struct uio *uio; int kdwrite(dev, uio) int dev; -struct uio *uio; +io_req_t uio; { return((*linesw[kd_tty.t_line].l_write)(&kd_tty, uio)); } diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h index 9d297d1..f5cd5fc 100644 --- a/i386/i386at/kd.h +++ b/i386/i386at/kd.h @@ -750,8 +750,8 @@ extern void kdb_kintr(void); extern int kdopen(dev_t dev, int flag, io_req_t ior); extern void kdclose(int dev, int flag); -extern int kdread(int dev, struct uio *uio); -extern int kdwrite(int dev, struct uio *uio); +extern int kdread(int dev, io_req_t uio); +extern int kdwrite(int dev, io_req_t uio); extern io_return_t kdgetstat( dev_t dev, |