From 17f93f987c477cb6765780b9c59e7b41af5740f1 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sun, 11 Sep 2005 17:34:28 +0000 Subject: Simplify code by changing struct scsi_mode_sense_buf{ union {} headers; } to just union scsi_mode_sense_buf {}. No functional change. ok marco@ --- sys/scsi/scsiconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/scsi/scsiconf.h') diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 0a998bbc536..da6330b2920 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.60 2005/06/24 23:39:18 krw Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.61 2005/09/11 17:34:27 krw Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -338,7 +338,7 @@ int scsi_mode_sense_big(struct scsi_link *, int, int, void * scsi_mode_sense_page(struct scsi_mode_header *, int); void * scsi_mode_sense_big_page(struct scsi_mode_header_big *, int); int scsi_do_mode_sense(struct scsi_link *, int, - struct scsi_mode_sense_buf *, void **, u_int32_t *, u_int64_t *, + union scsi_mode_sense_buf *, void **, u_int32_t *, u_int64_t *, u_int32_t *, int, int, int *); int scsi_mode_select(struct scsi_link *, int, struct scsi_mode_header *, int, int); -- cgit v1.2.3