summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-08-16 10:02:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-08-16 10:02:42 +0000
commit06e5b1326356b2662ac7f99f6f4a1852caa672c3 (patch)
treee0b45364055562910d960d5ca0405ca36146b9fd
parent4307860eb9b111db3a0690f1d876cf2180e89aa3 (diff)
Explicitly include <sys/types.h> and some minor style points.
-rw-r--r--lib/libc/hash/rmd160.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/libc/hash/rmd160.c b/lib/libc/hash/rmd160.c
index 72a7ad869d7..0dc997b94a8 100644
--- a/lib/libc/hash/rmd160.c
+++ b/lib/libc/hash/rmd160.c
@@ -16,10 +16,11 @@
*
\********************************************************************/
-/* header files */
+/* header files */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/types.h>
#include <rmd160.h>
/********************************************************************/
@@ -98,7 +99,8 @@
/********************************************************************/
-void RMD160Init(context)
+void
+RMD160Init(context)
RMD160_CTX *context;
{
@@ -114,7 +116,8 @@ void RMD160Init(context)
/********************************************************************/
-void RMD160Transform(state, block)
+void
+RMD160Transform(state, block)
u_int32_t state[5];
const u_int32_t block[16];
{
@@ -314,7 +317,8 @@ void RMD160Transform(state, block)
/********************************************************************/
-void RMD160Update(context, data, nbytes)
+void
+RMD160Update(context, data, nbytes)
RMD160_CTX *context;
const u_char *data;
u_int32_t nbytes;
@@ -373,7 +377,8 @@ void RMD160Update(context, data, nbytes)
/********************************************************************/
-void RMD160Final(digest, context)
+void
+RMD160Final(digest, context)
u_char digest[20];
RMD160_CTX *context;
{