summaryrefslogtreecommitdiffstats
path: root/crypto/md2/md2.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 /crypto/md2/md2.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
Change functions to ANSI C.
Diffstat (limited to 'crypto/md2/md2.c')
-rw-r--r--crypto/md2/md2.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/crypto/md2/md2.c b/crypto/md2/md2.c
index 7f3ab64a43..8b34e1defb 100644
--- a/crypto/md2/md2.c
+++ b/crypto/md2/md2.c
@@ -74,9 +74,7 @@ int read();
void exit();
#endif
-int main(argc, argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
{
int i,err=0;
FILE *IN;
@@ -105,8 +103,7 @@ char *argv[];
return(err);
}
-void do_fp(f)
-FILE *f;
+void do_fp(FILE *f)
{
MD2_CTX c;
unsigned char md[MD2_DIGEST_LENGTH];
@@ -125,8 +122,7 @@ FILE *f;
pt(md);
}
-void pt(md)
-unsigned char *md;
+void pt(unsigned char *md)
{
int i;