summaryrefslogtreecommitdiffstats
path: root/crypto/bf/bftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bf/bftest.c')
-rw-r--r--crypto/bf/bftest.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/bf/bftest.c b/crypto/bf/bftest.c
index 9266cf813a..e66ca044e2 100644
--- a/crypto/bf/bftest.c
+++ b/crypto/bf/bftest.c
@@ -260,9 +260,7 @@ static int test();
static int print_test_data();
#endif
-int main(argc,argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
{
int ret;
@@ -275,7 +273,7 @@ char *argv[];
return(0);
}
-static int print_test_data()
+static int print_test_data(void)
{
unsigned int i,j;
@@ -342,7 +340,7 @@ static int print_test_data()
return(0);
}
-static int test()
+static int test(void)
{
unsigned char cbc_in[40],cbc_out[40],iv[8];
int i,n,err=0;