From 3eb76324b6bd7cff0905a88a7360c3ec3989f9bf Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 25 Aug 2008 11:53:48 +0000 Subject: Stop using old-style function-definitions. --- cpukit/libmd/md5.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpukit/libmd/md5.c') diff --git a/cpukit/libmd/md5.c b/cpukit/libmd/md5.c index cf7ee12132..4e81f9cebd 100644 --- a/cpukit/libmd/md5.c +++ b/cpukit/libmd/md5.c @@ -103,8 +103,8 @@ static unsigned char PADDING[64] = { /* The routine MD5Init initializes the message-digest context mdContext. All fields are set to zero. */ -void MD5Init (mdContext) -MD5_CTX *mdContext; +void MD5Init ( + MD5_CTX *mdContext ) { mdContext->i[0] = mdContext->i[1] = (UINT4)0; @@ -120,10 +120,10 @@ MD5_CTX *mdContext; account for the presence of each of the characters inBuf[0..inLen-1] in the message whose digest is being computed. */ -void MD5Update (mdContext, inBuf, inLen) -MD5_CTX *mdContext; -const unsigned char *inBuf; -unsigned int inLen; +void MD5Update ( + MD5_CTX *mdContext, + const unsigned char *inBuf, + unsigned int inLen ) { UINT4 in[16]; int mdi; @@ -158,9 +158,9 @@ unsigned int inLen; /* The routine MD5Final terminates the message-digest computation and ends with the desired message digest in mdContext->digest[0...15]. */ -void MD5Final (hash, mdContext) -unsigned char hash[]; -MD5_CTX *mdContext; +void MD5Final ( + unsigned char hash[], + MD5_CTX *mdContext ) { UINT4 in[16]; int mdi; -- cgit v1.2.3