From 9577ec85c967ce4eb0c5a5ab45761a25da30038a Mon Sep 17 00:00:00 2001 From: Tom Keiser Date: Wed, 13 Oct 2010 01:27:56 -0400 Subject: [PATCH] trailing commas make xlc a sad panda IBM VAC xlc_r throws parse errors when enumeration definitions have trailing commas; let's avoid that. Change-Id: I586fd6ed544bcbab444cc1d0964315a00b4d34b3 Reviewed-on: http://gerrit.openafs.org/2970 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/vol/volume.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vol/volume.h b/src/vol/volume.h index f460212..9341e7d 100644 --- a/src/vol/volume.h +++ b/src/vol/volume.h @@ -125,7 +125,7 @@ typedef enum { salvageServer = 4, /**< dafs online salvager */ debugUtility = 5, /**< fssync-debug or similar utility */ volumeServer = 6, /**< the volserver process */ - volumeSalvager = 7, /**< the standalone single-volume salvager */ + volumeSalvager = 7 /**< the standalone single-volume salvager */ } ProgramType; extern ProgramType programType; /* The type of program using the package */ @@ -181,7 +181,7 @@ typedef enum { VOL_STATE_DELETED = 20, /**< volume has been deleted by the volserver */ /* please add new states directly above this line */ VOL_STATE_FREED = 21, /**< debugging aid */ - VOL_STATE_COUNT = 22, /**< total number of valid states */ + VOL_STATE_COUNT = 22 /**< total number of valid states */ } VolState; /** @@ -196,7 +196,7 @@ enum VolFlags { VOL_IS_BUSY = 0x20, /**< volume is not to be free()d */ VOL_ON_VLRU = 0x40, /**< volume is on the VLRU */ VOL_HDR_DONTSALV = 0x80, /**< volume header DONTSALVAGE flag is set */ - VOL_LOCKED = 0x100, /**< volume is disk-locked (@see VLockVolumeNB) */ + VOL_LOCKED = 0x100 /**< volume is disk-locked (@see VLockVolumeNB) */ }; /* VPrintExtendedCacheStats flags */ @@ -220,7 +220,7 @@ typedef enum { VLRU_QUEUE_CANDIDATE = 3, /**< soft detach candidate pool */ VLRU_QUEUE_HELD = 4, /* volumes which are not allowed * to be soft detached */ - VLRU_QUEUE_INVALID = 5, /**< invalid queue id */ + VLRU_QUEUE_INVALID = 5 /**< invalid queue id */ } VLRUQueueName; /* default scanner timing parameters */ -- 1.9.4