diff options
author | 1999-08-16 10:02:41 +0000 | |
---|---|---|
committer | 1999-08-16 10:02:41 +0000 | |
commit | b14a012f1c455b3021ed45bcab6ae5b818fe66d4 (patch) | |
tree | 7ae2ea039fb513897f80c87a84c6307700c5f707 | |
parent | prototype mismatch for RMD160Update() (diff) | |
download | wireguard-openbsd-b14a012f1c455b3021ed45bcab6ae5b818fe66d4.tar.xz wireguard-openbsd-b14a012f1c455b3021ed45bcab6ae5b818fe66d4.zip |
Explicitly include <sys/types.h> and some minor style points.
-rw-r--r-- | lib/libc/hash/rmd160.c | 15 |
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; { |