From 6b691a5c85ddc4e407e32781841fee5c029506cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Mon, 19 Apr 1999 21:31:43 +0000 Subject: Change functions to ANSI C. --- crypto/idea/ideatest.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'crypto/idea/ideatest.c') diff --git a/crypto/idea/ideatest.c b/crypto/idea/ideatest.c index 6eff9029cc..542ece4aa3 100644 --- a/crypto/idea/ideatest.c +++ b/crypto/idea/ideatest.c @@ -103,9 +103,7 @@ static int cfb64_test(); static char *pt(); #endif -int main(argc,argv) -int argc; -char *argv[]; +int main(int argc, char *argv[]) { int i,err=0; IDEA_KEY_SCHEDULE key,dkey; @@ -171,8 +169,7 @@ char *argv[]; return(err); } -static int cfb64_test(cfb_cipher) -unsigned char *cfb_cipher; +static int cfb64_test(unsigned char *cfb_cipher) { IDEA_KEY_SCHEDULE eks,dks; int err=0,i,n; @@ -210,8 +207,7 @@ unsigned char *cfb_cipher; return(err); } -static char *pt(p) -unsigned char *p; +static char *pt(unsigned char *p) { static char bufs[10][20]; static int bnum=0; -- cgit v1.2.1