diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/asn1/nsseq.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'crypto/asn1/nsseq.c')
-rw-r--r-- | crypto/asn1/nsseq.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/crypto/asn1/nsseq.c b/crypto/asn1/nsseq.c index 5f95cfd69f..ba43be59b2 100644 --- a/crypto/asn1/nsseq.c +++ b/crypto/asn1/nsseq.c @@ -70,9 +70,7 @@ * ASN1err(ASN1_F_D2I_NETSCAPE_CERT_SEQUENCE,ERR_R_MALLOC_FAILURE); */ -int i2d_NETSCAPE_CERT_SEQUENCE(a,pp) -NETSCAPE_CERT_SEQUENCE *a; -unsigned char **pp; +int i2d_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE *a, unsigned char **pp) { int v = 0; M_ASN1_I2D_vars(a); @@ -89,7 +87,7 @@ unsigned char **pp; M_ASN1_I2D_finish(); } -NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new() +NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new(void) { NETSCAPE_CERT_SEQUENCE *ret=NULL; ASN1_CTX c; @@ -101,10 +99,8 @@ NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new() M_ASN1_New_Error(ASN1_F_NETSCAPE_CERT_SEQUENCE_NEW); } -NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(a,pp,length) -NETSCAPE_CERT_SEQUENCE **a; -unsigned char **pp; -long length; +NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE **a, + unsigned char **pp, long length) { M_ASN1_D2I_vars(a,NETSCAPE_CERT_SEQUENCE *, NETSCAPE_CERT_SEQUENCE_new); @@ -116,8 +112,7 @@ long length; M_ASN1_D2I_Finish(a, NETSCAPE_CERT_SEQUENCE_free, ASN1_F_D2I_NETSCAPE_CERT_SEQUENCE); } -void NETSCAPE_CERT_SEQUENCE_free (a) -NETSCAPE_CERT_SEQUENCE *a; +void NETSCAPE_CERT_SEQUENCE_free (NETSCAPE_CERT_SEQUENCE *a) { if (a == NULL) return; ASN1_OBJECT_free(a->type); |