summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha.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/sha.c
parent3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff)
Change functions to ANSI C.
Diffstat (limited to 'crypto/sha/sha.c')
-rw-r--r--crypto/sha/sha.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/crypto/sha/sha.c b/crypto/sha/sha.c
index 713fec3610..486819d6f7 100644
--- a/crypto/sha/sha.c
+++ b/crypto/sha/sha.c
@@ -72,9 +72,7 @@ void pt();
int read();
#endif
-int main(argc, argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
{
int i,err=0;
FILE *IN;
@@ -102,8 +100,7 @@ char **argv;
exit(err);
}
-void do_fp(f)
-FILE *f;
+void do_fp(FILE *f)
{
SHA_CTX c;
unsigned char md[SHA_DIGEST_LENGTH];
@@ -123,8 +120,7 @@ FILE *f;
pt(md);
}
-void pt(md)
-unsigned char *md;
+void pt(unsigned char *md)
{
int i;