diff options
author | gibbs <gibbs@FreeBSD.org> | 1996-03-10 07:13:15 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1996-03-10 07:13:15 +0000 |
commit | b37f58736e1b6695334b3d44f8eb6f36dc46415a (patch) | |
tree | 29cf135768a192ee2090c99c3c28b91fbd417640 /sys/scsi/scsi_driver.c | |
parent | 61af932716ba3442f37fe2ea464a4739ac1275f4 (diff) | |
download | FreeBSD-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/scsi_driver.c')
-rw-r--r-- | sys/scsi/scsi_driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/scsi_driver.c b/sys/scsi/scsi_driver.c index 45f2ca2..49fddbe 100644 --- a/sys/scsi/scsi_driver.c +++ b/sys/scsi/scsi_driver.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_driver.c,v 1.12 1995/12/05 07:14:23 julian Exp $ + * $Id: scsi_driver.c,v 1.13 1996/01/20 15:05:50 joerg Exp $ * */ #include <sys/types.h> @@ -108,7 +108,7 @@ scsi_open(dev_t dev, int flags, int fmt, struct proc *p, struct scsi_device *device) { errval errcode; - u_int32 unit; + u_int32_t unit; struct scsi_link *sc_link; if (device == 0) @@ -164,7 +164,7 @@ struct scsi_device *device) } int -scsi_ioctl(dev_t dev, u_int32 cmd, caddr_t arg, int flags, struct proc *p, +scsi_ioctl(dev_t dev, u_int32_t cmd, caddr_t arg, int flags, struct proc *p, struct scsi_device *device) { errval errcode; @@ -188,7 +188,7 @@ scsi_minphys(struct buf *bp, struct scsi_device *device) void scsi_strategy(struct buf *bp, struct scsi_device *device) { - u_int32 unit = GETUNIT(device, bp->b_dev); + u_int32_t unit = GETUNIT(device, bp->b_dev); struct scsi_link *sc_link = SCSI_LINK(device, unit); SC_DEBUG(sc_link, SDEV_DB2, ("\n%sstrategy ", device->name)); |