From f491f5dd5845fe6d70d12f3e4078f19e7d0e0937 Mon Sep 17 00:00:00 2001 From: ken Date: Wed, 17 Nov 1999 05:06:52 +0000 Subject: [PATCH] Get rid of some trailing commas in enumerated types that cause gcc to complain when some warnings are turned on. Requested by: Bertrand Petit --- sys/cam/cam.h | 2 +- sys/cam/cam_ccb.h | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/cam/cam.h b/sys/cam/cam.h index 7f656032eddc..b18545785f12 100644 --- a/sys/cam/cam.h +++ b/sys/cam/cam.h @@ -149,7 +149,7 @@ typedef enum { CAM_RELEASE_SIMQ = 0x100,/* SIM ready to take more commands */ CAM_SIM_QUEUED = 0x200,/* SIM has this command in it's queue */ - CAM_STATUS_MASK = 0x3F, /* Mask bits for just the status # */ + CAM_STATUS_MASK = 0x3F /* Mask bits for just the status # */ } cam_status; __BEGIN_DECLS diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index c58a0a1b277b..2f4ad02bf491 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -94,7 +94,7 @@ typedef enum { /* Host target Mode flags */ CAM_TERM_IO = 0x20000000,/* Terminate I/O Message sup. */ CAM_DISCONNECT = 0x40000000,/* Disconnects are mandatory */ - CAM_SEND_STATUS = 0x80000000,/* Send status after data phase */ + CAM_SEND_STATUS = 0x80000000 /* Send status after data phase */ } ccb_flags; /* XPT Opcodes for xpt_action */ @@ -480,7 +480,7 @@ typedef enum { PI_SDTR_ABLE = 0x10, /* Supports SDTR message */ PI_LINKED_CDB = 0x08, /* Supports linked CDBs */ PI_TAG_ABLE = 0x02, /* Supports tag queue messages */ - PI_SOFT_RST = 0x01, /* Supports soft reset alternative */ + PI_SOFT_RST = 0x01 /* Supports soft reset alternative */ } pi_inqflag; typedef enum { @@ -489,14 +489,14 @@ typedef enum { PIT_DISCONNECT = 0x20, /* Disconnects supported in target mode */ PIT_TERM_IO = 0x10, /* Terminate I/O message supported in TM */ PIT_GRP_6 = 0x08, /* Group 6 commands supported */ - PIT_GRP_7 = 0x04, /* Group 7 commands supported */ + PIT_GRP_7 = 0x04 /* Group 7 commands supported */ } pi_tmflag; typedef enum { PIM_SCANHILO = 0x80, /* Bus scans from high ID to low ID */ PIM_NOREMOVE = 0x40, /* Removeable devices not included in scan */ PIM_NOINITIATOR = 0x20, /* Initiator role not supported. */ - PIM_NOBUSRESET = 0x10, /* User has disabled initial BUS RESET */ + PIM_NOBUSRESET = 0x10 /* User has disabled initial BUS RESET */ } pi_miscflag; /* Path Inquiry CCB */ @@ -739,7 +739,7 @@ typedef enum { EAD_VUNIQUE, /* Engine algorithm ID: vendor unique */ EAD_LZ1V1, /* Engine algorithm ID: LZ1 var.1 */ EAD_LZ2V1, /* Engine algorithm ID: LZ2 var.1 */ - EAD_LZ2V2, /* Engine algorithm ID: LZ2 var.2 */ + EAD_LZ2V2 /* Engine algorithm ID: LZ2 var.2 */ } ei_algo; struct ccb_eng_inq {