diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-08 12:40:16 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-09 00:52:08 +0900 |
commit | cd79da88b148c79cec94f214c4efd07dd8069863 (patch) | |
tree | b11a9e186808fc1cba8f05225a86cfa443017eb7 /i386/i386at/kd.h | |
parent | 039ae1184c7cc855e0435004ef8d5933424be43d (diff) | |
download | gnumach-cd79da88b148c79cec94f214c4efd07dd8069863.tar.gz gnumach-cd79da88b148c79cec94f214c4efd07dd8069863.tar.bz2 gnumach-cd79da88b148c79cec94f214c4efd07dd8069863.zip |
i386/i386at/kd.c: use io_req instead of uio
Struct uio is nowhere defined and in device/buf.h the string uio is defined
as io_req. Remove all declarations of uio structure and use io_req_t instead
of it.
* device/buf.h (uio, io_req): Remove definition.
* i386/i386at/kd.c: Remove comment.
(kdread): Use io_req_t.
(kdwrite): Likewise.
* i386/i386at/kd.h (kdread, kdwrite): Use io_req_t as argument type.
Diffstat (limited to 'i386/i386at/kd.h')
-rw-r--r-- | i386/i386at/kd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h index 9d297d16..f5cd5fc4 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, |