]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/asn1/a_i2d_fp.c
Change functions to ANSI C.
[thirdparty/openssl.git] / crypto / asn1 / a_i2d_fp.c
index 66c3df68d599c8c90bbf993e39e256d982b09ffd..f010ec127210c788e1a1709fdff1965e81deefdc 100644 (file)
 #include "asn1_mac.h"
 
 #ifndef NO_FP_API
-int ASN1_i2d_fp(i2d,out,x)
-int (*i2d)();
-FILE *out;
-unsigned char *x;
+int ASN1_i2d_fp(int (*i2d)(), FILE *out, unsigned char *x)
         {
         BIO *b;
         int ret;
@@ -82,10 +79,7 @@ unsigned char *x;
         }
 #endif
 
-int ASN1_i2d_bio(i2d,out,x)
-int (*i2d)();
-BIO *out;
-unsigned char *x;
+int ASN1_i2d_bio(int (*i2d)(), BIO *out, unsigned char *x)
        {
        char *b;
        unsigned char *p;