summaryrefslogtreecommitdiffstats
path: root/crypto/sha/shatest.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/sha/shatest.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
Change functions to ANSI C.
Diffstat (limited to 'crypto/sha/shatest.c')
-rw-r--r--crypto/sha/shatest.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/sha/shatest.c b/crypto/sha/shatest.c
index 03816e9b39..5a1a99880f 100644
--- a/crypto/sha/shatest.c
+++ b/crypto/sha/shatest.c
@@ -93,9 +93,7 @@ static char *pt(unsigned char *md);
static char *pt();
#endif
-int main(argc,argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
{
int i,err=0;
unsigned char **P,**R;
@@ -143,8 +141,7 @@ char *argv[];
return(0);
}
-static char *pt(md)
-unsigned char *md;
+static char *pt(unsigned char *md)
{
int i;
static char buf[80];