C90 doesn't allow commas at the ends of enumeration lists
authorKen Raeburn <raeburn@mit.edu>
Fri, 1 Jul 2011 03:27:01 +0000 (03:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 1 Jul 2011 03:27:01 +0000 (03:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25012 dc483132-0cff-0310-8789-dd5450dbe970

src/include/iprop.h
src/lib/crypto/krb/crypto_int.h

index 9cfbb309369a02d1ea201e4f5a4d1f40433de7a8..7367666e2c5aac1eeec9e474ae8dd06985c22c78 100644 (file)
@@ -91,7 +91,7 @@ enum kdbe_attr_type_t {
        AT_PW_POLICY = 16,
        AT_PW_POLICY_SWITCH = 17,
        AT_PW_HIST_KVNO = 18,
-       AT_PW_HIST = 19,
+       AT_PW_HIST = 19
 };
 typedef enum kdbe_attr_type_t kdbe_attr_type_t;
 
@@ -169,7 +169,7 @@ enum update_status_t {
        UPDATE_FULL_RESYNC_NEEDED = 2,
        UPDATE_BUSY = 3,
        UPDATE_NIL = 4,
-       UPDATE_PERM_DENIED = 5,
+       UPDATE_PERM_DENIED = 5
 };
 typedef enum update_status_t update_status_t;
 
index fa20cc526e6712d9bb967d82213a3543d08d41f1..77da87de6aaa70fd47bce885c6ac6f883f39007e 100644 (file)
@@ -321,8 +321,9 @@ krb5_error_code krb5int_confounder_verify(const struct krb5_cksumtypes *ctp,
 /*** Key derivation functions ***/
 
 enum deriv_alg {
-    DERIVE_RFC3961,             /* RFC 3961 section 5.1 */
+    DERIVE_RFC3961              /* RFC 3961 section 5.1 */
 #ifdef CAMELLIA
+    ,                           /* C90 doesn't let enum list end w/comma */
     DERIVE_SP800_108_CMAC       /* NIST SP 800-108 with CMAC as PRF */
 #endif
 };