trailing commas make xlc a sad panda
authorTom Keiser <tkeiser@sinenomine.net>
Wed, 13 Oct 2010 05:27:56 +0000 (01:27 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 13 Oct 2010 09:53:16 +0000 (02:53 -0700)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>

src/vol/volume.h

index f460212..9341e7d 100644 (file)
@@ -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 */