Changeset 3eb76324 in rtems


Ignore:
Timestamp:
Aug 25, 2008, 11:53:48 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
28041b67
Parents:
5e04259
Message:

Stop using old-style function-definitions.

Location:
cpukit/libmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmd/md4.c

    r5e04259 r3eb76324  
    8989*/
    9090void
    91 MD4Print(MDp)
    92 MD4_CTX *MDp;
     91MD4Print(
     92  MD4_CTX *MDp)
    9393{
    9494  int i,j;
     
    103103*/
    104104void
    105 MD4Init(MDp)
    106 MD4_CTX *MDp;
     105MD4Init(
     106  MD4_CTX *MDp)
    107107{
    108108  int i;
  • cpukit/libmd/md5.c

    r5e04259 r3eb76324  
    104104   mdContext. All fields are set to zero.
    105105 */
    106 void MD5Init (mdContext)
    107 MD5_CTX *mdContext;
     106void MD5Init (
     107  MD5_CTX *mdContext )
    108108{
    109109  mdContext->i[0] = mdContext->i[1] = (UINT4)0;
     
    121121   in the message whose digest is being computed.
    122122 */
    123 void MD5Update (mdContext, inBuf, inLen)
    124 MD5_CTX *mdContext;
    125 const unsigned char *inBuf;
    126 unsigned int inLen;
     123void MD5Update (
     124  MD5_CTX *mdContext,
     125  const unsigned char *inBuf,
     126  unsigned int inLen )
    127127{
    128128  UINT4 in[16];
     
    159159   ends with the desired message digest in mdContext->digest[0...15].
    160160 */
    161 void MD5Final (hash, mdContext)
    162 unsigned char hash[];
    163 MD5_CTX *mdContext;
     161void MD5Final (
     162  unsigned char hash[],
     163  MD5_CTX *mdContext )
    164164{
    165165  UINT4 in[16];
Note: See TracChangeset for help on using the changeset viewer.