summaryrefslogtreecommitdiffstats
path: root/sys/scsi/sctarg.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-03-10 07:13:15 +0000
committergibbs <gibbs@FreeBSD.org>1996-03-10 07:13:15 +0000
commitb37f58736e1b6695334b3d44f8eb6f36dc46415a (patch)
tree29cf135768a192ee2090c99c3c28b91fbd417640 /sys/scsi/sctarg.c
parent61af932716ba3442f37fe2ea464a4739ac1275f4 (diff)
downloadFreeBSD-src-b37f58736e1b6695334b3d44f8eb6f36dc46415a.zip
FreeBSD-src-b37f58736e1b6695334b3d44f8eb6f36dc46415a.tar.gz
Cleanse the SCSI subsystem of its internally defined types
u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead.
Diffstat (limited to 'sys/scsi/sctarg.c')
-rw-r--r--sys/scsi/sctarg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/scsi/sctarg.c b/sys/scsi/sctarg.c
index 4797d98..b0d0957 100644
--- a/sys/scsi/sctarg.c
+++ b/sys/scsi/sctarg.c
@@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sctarg.c,v 1.12 1995/12/14 19:51:15 bde Exp $
+ * $Id: sctarg.c,v 1.13 1996/01/05 20:12:47 wollman Exp $
*/
/*
@@ -83,7 +83,7 @@ SCSI_DEVICE_ENTRIES(sctarg)
static errval sctarg_open(dev_t dev, int flags, int fmt, struct proc *p,
struct scsi_link *sc_link);
-static void sctargstart(u_int32 unit, u_int32 unused_flags);
+static void sctargstart(u_int32_t unit, u_int32_t unused_flags);
static void sctarg_strategy(struct buf *bp, struct scsi_link *sc_link);
static struct scsi_device sctarg_switch =
@@ -161,8 +161,8 @@ sctarg_open(dev_t dev, int flags, int fmt, struct proc *p,
*/
static void
sctargstart(unit, unused_flags)
- u_int32 unit;
- u_int32 unused_flags;
+ u_int32_t unit;
+ u_int32_t unused_flags;
{
struct scsi_link *sc_link = SCSI_LINK(&sctarg_switch, unit);
struct scsi_data *sctarg = sc_link->sd;
@@ -177,7 +177,7 @@ sctargstart(unit, unused_flags)
u_char control;
} cmd;
- u_int32 flags;
+ u_int32_t flags;
SC_DEBUG(sc_link, SDEV_DB2, ("sctargstart "));
/*
@@ -237,7 +237,7 @@ static void
sctarg_strategy(struct buf *bp, struct scsi_link *sc_link)
{
unsigned char unit;
- u_int32 opri;
+ u_int32_t opri;
struct scsi_data *sctarg;
unit = minor((bp->b_dev));
OpenPOWER on IntegriCloud