]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/dgst.c
Change functions to ANSI C.
[thirdparty/openssl.git] / apps / dgst.c
index eb7462d0b12207057755956ef437afca488ee7d6..2926e5514f9b767a1a5b70557529481f8f24778c 100644 (file)
@@ -79,9 +79,7 @@ void do_fp(unsigned char *buf,BIO *f,int sep);
 void do_fp();
 #endif
 
-int MAIN(argc,argv)
-int argc;
-char **argv;
+int MAIN(int argc, char **argv)
        {
        unsigned char *buf=NULL;
        int i,err=0;
@@ -203,10 +201,7 @@ end:
        EXIT(err);
        }
 
-void do_fp(buf,bp,sep)
-unsigned char *buf;
-BIO *bp;
-int sep;
+void do_fp(unsigned char *buf, BIO *bp, int sep)
        {
        int len;
        int i;