зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 284386: fixed build error using gcc4. gcc4 disallows arrays
of incomplete element type (which are invalid in C). We moved the declaration of nss_builtin_oids to pki1.h, after the definition of NSSOID. r=caillon. Modified Files: oiddata.h oidgen.perl pki1.h
This commit is contained in:
Родитель
d53f4f300f
Коммит
93e59a7b8e
|
@ -39,19 +39,13 @@
|
|||
#define OIDDATA_H
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char OIDDATA_CVS_ID[] = "@(#) $RCSfile: oiddata.h,v $ $Revision: 1.3 $ $Date: 2005-02-02 22:28:24 $ ; @(#) $RCSfile: oiddata.h,v $ $Revision: 1.3 $ $Date: 2005-02-02 22:28:24 $";
|
||||
static const char OIDDATA_CVS_ID[] = "@(#) $RCSfile: oiddata.h,v $ $Revision: 1.4 $ $Date: 2005-03-14 18:02:00 $ ; @(#) $RCSfile: oiddata.h,v $ $Revision: 1.4 $ $Date: 2005-03-14 18:02:00 $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifndef NSSPKI1T_H
|
||||
#include "nsspki1t.h"
|
||||
#endif /* NSSPKI1T_H */
|
||||
|
||||
extern const NSSOID nss_builtin_oids[];
|
||||
extern const PRUint32 nss_builtin_oid_count;
|
||||
|
||||
/*extern const nssAttributeTypeAliasTable nss_attribute_type_aliases[];*/
|
||||
/*extern const PRUint32 nss_attribute_type_alias_count;*/
|
||||
|
||||
extern const NSSOID *NSS_OID_RFC1274_UID;
|
||||
extern const NSSOID *NSS_OID_RFC1274_EMAIL;
|
||||
extern const NSSOID *NSS_OID_RFC2247_DC;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
# the terms of any one of the MPL, the GPL or the LGPL.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
$cvs_id = '@(#) $RCSfile: oidgen.perl,v $ $Revision: 1.5 $ $Date: 2005-02-02 22:28:24 $';
|
||||
$cvs_id = '@(#) $RCSfile: oidgen.perl,v $ $Revision: 1.6 $ $Date: 2005-03-14 18:02:00 $';
|
||||
$cfile = shift;
|
||||
$hfile = shift;
|
||||
$count = -1;
|
||||
|
@ -244,12 +244,6 @@ static const char OIDDATA_CVS_ID[] = "$g{CVS_ID} ; $cvs_id";
|
|||
#include "nsspki1t.h"
|
||||
#endif /* NSSPKI1T_H */
|
||||
|
||||
extern const NSSOID nss_builtin_oids[];
|
||||
extern const PRUint32 nss_builtin_oid_count;
|
||||
|
||||
/*extern const nssAttributeTypeAliasTable nss_attribute_type_aliases[];*/
|
||||
/*extern const PRUint32 nss_attribute_type_alias_count;*/
|
||||
|
||||
EOD
|
||||
;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#define PKI1_H
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char PKI1_CVS_ID[] = "@(#) $RCSfile: pki1.h,v $ $Revision: 1.4 $ $Date: 2005-01-20 02:25:49 $";
|
||||
static const char PKI1_CVS_ID[] = "@(#) $RCSfile: pki1.h,v $ $Revision: 1.5 $ $Date: 2005-03-14 18:02:00 $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
/*
|
||||
|
@ -58,7 +58,9 @@ static const char PKI1_CVS_ID[] = "@(#) $RCSfile: pki1.h,v $ $Revision: 1.4 $ $D
|
|||
|
||||
PR_BEGIN_EXTERN_C
|
||||
|
||||
/* fgmr 19990505 moved these here from oiddata.h */
|
||||
extern const NSSOID nss_builtin_oids[];
|
||||
extern const PRUint32 nss_builtin_oid_count;
|
||||
|
||||
extern const nssAttributeTypeAliasTable nss_attribute_type_aliases[];
|
||||
extern const PRUint32 nss_attribute_type_alias_count;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче