summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
committerUlf Möller <ulf@openssl.org>1999-04-19 21:31:43 +0000
commit6b691a5c85ddc4e407e32781841fee5c029506cd (patch)
tree436f1127406e1cacfe83dfcbfff824d89c47d834 /apps/dgst.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
Change functions to ANSI C.
Diffstat (limited to 'apps/dgst.c')
-rw-r--r--apps/dgst.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/dgst.c b/apps/dgst.c
index eb7462d0b1..2926e5514f 100644
--- a/apps/dgst.c
+++ b/apps/dgst.c
@@ -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;