Incorporate Wan-Teh's suggestion of using a typdef for the enum.
authorrelyea%netscape.com
Wed, 10 Dec 2008 22:48:01 +0000
changeset 8879 c9ad67401555b8803b84fc76e8d25b9518e48a4d
parent 8878 06abcde334a7f51f18e9e7c240be56ed567a9018
child 8880 eb76713fad9b2dbd7c743aee020f2417d8ebb26a
push idunknown
push userunknown
push dateunknown
Incorporate Wan-Teh's suggestion of using a typdef for the enum. Follow the same standard we use elsewhere for enums.
security/nss/lib/softoken/secmodt.h
--- a/security/nss/lib/softoken/secmodt.h
+++ b/security/nss/lib/softoken/secmodt.h
@@ -91,20 +91,20 @@ struct PK11SlotListElementStr {
     int refCount;
 };
 
 struct PK11RSAGenParamsStr {
     int keySizeInBits;
     unsigned long pe;
 };
 
-enum PK11CertListType {
+typedef enum {
 	PK11CertListUnique = 0,
 	PK11CertListUser = 1
-};
+} PK11CertListType;
 
 /*
  * Entry into the Array which lists all the legal bits for the default flags
  * in the slot, their definition, and the PKCS #11 mechanism the represent
  * Always Statically allocated. 
  */
 struct PK11DefaultArrayEntryStr {
     char *name;