From: Ken Raeburn Date: Fri, 1 Jul 2011 03:27:01 +0000 (+0000) Subject: C90 doesn't allow commas at the ends of enumeration lists X-Git-Tag: krb5-1.10-alpha1~363 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1f2138e52debc6ec240741cede282df135e47f9;p=krb5.git C90 doesn't allow commas at the ends of enumeration lists git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25012 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/iprop.h b/src/include/iprop.h index 9cfbb3093..7367666e2 100644 --- a/src/include/iprop.h +++ b/src/include/iprop.h @@ -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; diff --git a/src/lib/crypto/krb/crypto_int.h b/src/lib/crypto/krb/crypto_int.h index fa20cc526..77da87de6 100644 --- a/src/lib/crypto/krb/crypto_int.h +++ b/src/lib/crypto/krb/crypto_int.h @@ -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 };