summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-05-02 20:17:41 +0000
committerwtc%netscape.com <devnull@localhost>2001-05-02 20:17:41 +0000
commitc6cc0ddec65b39581d3f9d0b0d94242b1f052cba (patch)
tree08639103b203145898eec663b230b85f04e0b0da
parent95ddee279e461c7a8efaf0c1e9084e2379ee2d1f (diff)
downloadnss-hg-c6cc0ddec65b39581d3f9d0b0d94242b1f052cba.tar.gz
Bugzilla bug #78528: put the const ASN1 template declarations inside an
extern "C" block. Thanks to Javier Delgadillo for the patch. (NSS_3_2_BRANCH)
-rw-r--r--security/nss/lib/util/secasn1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/util/secasn1.h b/security/nss/lib/util/secasn1.h
index 786985b89..8e457aac1 100644
--- a/security/nss/lib/util/secasn1.h
+++ b/security/nss/lib/util/secasn1.h
@@ -169,7 +169,6 @@ extern const SEC_ASN1Template *
SEC_ASN1GetSubtemplate (const SEC_ASN1Template *inTemplate, void *thing,
PRBool encoding);
-SEC_END_PROTOS
/************************************************************************/
/*
@@ -278,4 +277,5 @@ SEC_ASN1_CHOOSER_DECLARE(SEC_PointerToOctetStringTemplate)
SEC_ASN1_CHOOSER_DECLARE(SEC_SetOfAnyTemplate)
+SEC_END_PROTOS
#endif /* _SECASN1_H_ */