aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/a_i2d_fp.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2005-03-31 09:26:39 +0000
committerBen Laurie <ben@openssl.org>2005-03-31 09:26:39 +0000
commit41a15c4f0f2535591ba9f258cf76119f86477c43 (patch)
tree6aca3f255f97dc3e9bd18884beeddf7de26fa122 /crypto/asn1/a_i2d_fp.c
parentfea4280a8b1a37bfe1ae6ffaede58722ad71afa1 (diff)
downloadopenssl-41a15c4f0f2535591ba9f258cf76119f86477c43.zip
openssl-41a15c4f0f2535591ba9f258cf76119f86477c43.tar.gz
openssl-41a15c4f0f2535591ba9f258cf76119f86477c43.tar.bz2
Give everything prototypes (well, everything that's actually used).
Diffstat (limited to 'crypto/asn1/a_i2d_fp.c')
-rw-r--r--crypto/asn1/a_i2d_fp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/asn1/a_i2d_fp.c b/crypto/asn1/a_i2d_fp.c
index f4f1b73..159c050 100644
--- a/crypto/asn1/a_i2d_fp.c
+++ b/crypto/asn1/a_i2d_fp.c
@@ -64,7 +64,8 @@
#ifndef NO_OLD_ASN1
#ifndef OPENSSL_NO_FP_API
-int ASN1_i2d_fp(int (*i2d)(), FILE *out, unsigned char *x)
+int ASN1_i2d_fp(int (*i2d)(void *, unsigned char **), FILE *out,
+ void *x)
{
BIO *b;
int ret;
@@ -81,7 +82,8 @@ int ASN1_i2d_fp(int (*i2d)(), FILE *out, unsigned char *x)
}
#endif
-int ASN1_i2d_bio(int (*i2d)(), BIO *out, unsigned char *x)
+int ASN1_i2d_bio(int (*i2d)(void *, unsigned char **), BIO *out,
+ unsigned char *x)
{
char *b;
unsigned char *p;