diff --git a/security/nss/lib/dev/ckhelper.c b/security/nss/lib/dev/ckhelper.c index 9b3f83bd7f9e..2cd38eef9d58 100644 --- a/security/nss/lib/dev/ckhelper.c +++ b/security/nss/lib/dev/ckhelper.c @@ -32,7 +32,7 @@ */ #ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile: ckhelper.c,v $ $Revision: 1.5 $ $Date: 2001/10/11 16:33:36 $ $Name: $"; +static const char CVS_ID[] = "@(#) $RCSfile: ckhelper.c,v $ $Revision: 1.6 $ $Date: 2001/10/11 17:05:08 $ $Name: $"; #endif /* DEBUG */ #ifndef PKIT_H @@ -60,23 +60,23 @@ static const char CVS_ID[] = "@(#) $RCSfile: ckhelper.c,v $ $Revision: 1.5 $ $Da #endif /* BASE_H */ static const CK_BBOOL s_true = CK_TRUE; -NSS_IMPLEMENT_DATA const NSSItem +NSS_IMPLEMENT_DATA /* const */ NSSItem g_ck_true = { (CK_VOID_PTR)&s_true, sizeof(s_true) }; static const CK_BBOOL s_false = CK_FALSE; -NSS_IMPLEMENT_DATA const NSSItem +NSS_IMPLEMENT_DATA /* const */ NSSItem g_ck_false = { (CK_VOID_PTR)&s_false, sizeof(s_false) }; static const CK_OBJECT_CLASS s_class_cert = CKO_CERTIFICATE; -NSS_IMPLEMENT_DATA const NSSItem +NSS_IMPLEMENT_DATA /* const */ NSSItem g_ck_class_cert = { (CK_VOID_PTR)&s_class_cert, sizeof(s_class_cert) }; static const CK_OBJECT_CLASS s_class_pubkey = CKO_PUBLIC_KEY; -NSS_IMPLEMENT_DATA const NSSItem +NSS_IMPLEMENT_DATA /* const */ NSSItem g_ck_class_pubkey = { (CK_VOID_PTR)&s_class_pubkey, sizeof(s_class_pubkey) }; static const CK_OBJECT_CLASS s_class_privkey = CKO_PRIVATE_KEY; -NSS_IMPLEMENT_DATA const NSSItem +NSS_IMPLEMENT_DATA /* const */ NSSItem g_ck_class_privkey = { (CK_VOID_PTR)&s_class_privkey, sizeof(s_class_privkey) }; NSS_IMPLEMENT PRStatus diff --git a/security/nss/lib/dev/ckhelper.h b/security/nss/lib/dev/ckhelper.h index e29f41d9ad19..b1218ece4a58 100644 --- a/security/nss/lib/dev/ckhelper.h +++ b/security/nss/lib/dev/ckhelper.h @@ -41,7 +41,7 @@ #define CKHELPER_H #ifdef DEBUG -static const char CKHELPER_CVS_ID[] = "@(#) $RCSfile: ckhelper.h,v $ $Revision: 1.5 $ $Date: 2001/10/11 16:33:36 $ $Name: $"; +static const char CKHELPER_CVS_ID[] = "@(#) $RCSfile: ckhelper.h,v $ $Revision: 1.6 $ $Date: 2001/10/11 17:05:08 $ $Name: $"; #endif /* DEBUG */ #ifdef NSS_3_4_CODE @@ -63,13 +63,13 @@ PR_BEGIN_EXTERN_C */ /* Boolean values */ -NSS_EXTERN_DATA const NSSItem g_ck_true; -NSS_EXTERN_DATA const NSSItem g_ck_false; +NSS_EXTERN_DATA /* const */ NSSItem g_ck_true; +NSS_EXTERN_DATA /* const */ NSSItem g_ck_false; /* Object classes */ -NSS_EXTERN_DATA const NSSItem g_ck_class_cert; -NSS_EXTERN_DATA const NSSItem g_ck_class_pubkey; -NSS_EXTERN_DATA const NSSItem g_ck_class_privkey; +NSS_EXTERN_DATA /* const */ NSSItem g_ck_class_cert; +NSS_EXTERN_DATA /* const */ NSSItem g_ck_class_pubkey; +NSS_EXTERN_DATA /* const */ NSSItem g_ck_class_privkey; /* NSS_CK_ATTRIBUTE_TO_ITEM(attrib, item) *