diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-02 05:16:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-02 05:16:26 +0000 |
commit | ee0c82f4138ba42f5921e95e1d4ed776d5c77d00 (patch) | |
tree | 2ab8e820ec69813cb11bda30bfceb9c39d57c1b6 /cpukit/libmd | |
parent | 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ee0c82f4138ba42f5921e95e1d4ed776d5c77d00.tar.bz2 |
Add missing prototypes.
Diffstat (limited to 'cpukit/libmd')
-rw-r--r-- | cpukit/libmd/md4.c | 20 | ||||
-rw-r--r-- | cpukit/libmd/md5.c | 8 |
2 files changed, 14 insertions, 14 deletions
diff --git a/cpukit/libmd/md4.c b/cpukit/libmd/md4.c index 9d3b9d0a80..4060cce4f7 100644 --- a/cpukit/libmd/md4.c +++ b/cpukit/libmd/md4.c @@ -121,9 +121,9 @@ MD4_CTX *MDp; ** This routine is not user-callable. */ static void -MDblock(MDp,Xb) -MD4_CTX *MDp; -unsigned char *Xb; +MDblock( + MD4_CTX *MDp, + unsigned char *Xb) { register uint32_t tmp, A, B, C, D; uint32_t X[16]; @@ -208,10 +208,10 @@ unsigned char *Xb; ** if desired. */ void -MD4Update(MDp,X,count) -MD4_CTX *MDp; -unsigned char *X; -unsigned int count; +MD4Update( + MD4_CTX *MDp, + unsigned char *X, + unsigned int count ) { unsigned int i, tmp, bit, byte, mask; unsigned char XX[64]; @@ -278,9 +278,9 @@ unsigned int count; ** Finish up MD4 computation and return message digest. */ void -MD4Final(buf, MD) -unsigned char *buf; -MD4_CTX *MD; +MD4Final( + unsigned char *buf, + MD4_CTX *MD) { int i, j; unsigned int w; diff --git a/cpukit/libmd/md5.c b/cpukit/libmd/md5.c index afabb6028e..cf7ee12132 100644 --- a/cpukit/libmd/md5.c +++ b/cpukit/libmd/md5.c @@ -49,7 +49,7 @@ */ /* forward declaration */ -static void Transform (); +static void Transform (UINT4 *buf, UINT4 *in); static unsigned char PADDING[64] = { 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -201,9 +201,9 @@ MD5_CTX *mdContext; /* Basic MD5 step. Transforms buf based on in. */ -static void Transform (buf, in) -UINT4 *buf; -UINT4 *in; +static void Transform ( + UINT4 *buf, + UINT4 *in ) { UINT4 a = buf[0], b = buf[1], c = buf[2], d = buf[3]; |