From cd79da88b148c79cec94f214c4efd07dd8069863 Mon Sep 17 00:00:00 2001
From: Marin Ramesa <mpr@hi.t-com.hr>
Date: Sun, 8 Dec 2013 12:40:16 +0100
Subject: 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.
---
 device/buf.h | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'device/buf.h')

diff --git a/device/buf.h b/device/buf.h
index 806eb8d8..a79ed8e4 100644
--- a/device/buf.h
+++ b/device/buf.h
@@ -82,11 +82,6 @@
 
 #define	B_MD1		IO_SPARE_START
 
-/*
- * Redefine uio structure
- */
-#define	uio	io_req
-
 /*
  * Redefine physio routine
  */
-- 
cgit v1.2.3