Eliminate some warnings found when compiling on Unix boxen.

git-svn-id: svn://10.0.0.236/trunk@84526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nelsonb%netscape.com
2001-01-07 09:21:25 +00:00
parent c87631519f
commit 07e1db7a72
2 changed files with 9 additions and 9 deletions

View File

@@ -33,7 +33,7 @@
/*
* certt.h - public data structures for the certificate library
*
* $Id: certt.h,v 1.3 2001-01-07 08:12:48 nelsonb%netscape.com Exp $
* $Id: certt.h,v 1.4 2001-01-07 09:21:23 nelsonb%netscape.com Exp $
*/
#ifndef _CERTT_H_
#define _CERTT_H_
@@ -804,11 +804,11 @@ extern const SEC_ASN1Template CERT_SetOfAttributeTemplate[];
/* These functions simply return the address of the above-declared templates.
** This is necessary for Windows DLLs. Sigh.
*/
SEC_ASN1_CHOOSER_DECLARE(CERT_CertificateRequestTemplate);
SEC_ASN1_CHOOSER_DECLARE(CERT_CertificateTemplate);
SEC_ASN1_CHOOSER_DECLARE(CERT_CrlTemplate);
SEC_ASN1_CHOOSER_DECLARE(CERT_IssuerAndSNTemplate);
SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate);
SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate);
SEC_ASN1_CHOOSER_DECLARE(CERT_CertificateRequestTemplate)
SEC_ASN1_CHOOSER_DECLARE(CERT_CertificateTemplate)
SEC_ASN1_CHOOSER_DECLARE(CERT_CrlTemplate)
SEC_ASN1_CHOOSER_DECLARE(CERT_IssuerAndSNTemplate)
SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate)
SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate)
#endif /* _CERTT_H_ */

View File

@@ -35,7 +35,7 @@
* Types for encoding/decoding of ASN.1 using BER/DER (Basic/Distinguished
* Encoding Rules).
*
* $Id: secasn1t.h,v 1.2 2001-01-07 08:13:12 nelsonb%netscape.com Exp $
* $Id: secasn1t.h,v 1.3 2001-01-07 09:21:25 nelsonb%netscape.com Exp $
*/
#ifndef _SECASN1T_H_
@@ -207,7 +207,7 @@ static const SEC_ASN1TemplateChooserPtr p_NSS_Get_##x = &NSS_Get_##x;
#endif
#define SEC_ASN1_CHOOSER_DECLARE(x) \
extern SEC_ASN1TemplateChooser NSS_Get_##x;
extern const SEC_ASN1Template * NSS_Get_##x (void *arg, PRBool enc);
#define SEC_ASN1_CHOOSER_IMPLEMENT(x) \
const SEC_ASN1Template * NSS_Get_##x(void * arg, PRBool enc) \