Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/hash/md2 Use C89 definition.



details:   https://anonhg.NetBSD.org/src/rev/c3a3e2e2e76b
branches:  trunk
changeset: 778248:c3a3e2e2e76b
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Mar 20 17:06:43 2012 +0000

description:
Use C89 definition.
u_int*_t -> uint*_t

diffstat:

 lib/libc/hash/md2/md2.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r b70292150a7c -r c3a3e2e2e76b lib/libc/hash/md2/md2.c
--- a/lib/libc/hash/md2/md2.c   Tue Mar 20 17:05:59 2012 +0000
+++ b/lib/libc/hash/md2/md2.c   Tue Mar 20 17:06:43 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md2.c,v 1.5 2008/04/28 20:23:00 martin Exp $   */
+/*     $NetBSD: md2.c,v 1.6 2012/03/20 17:06:43 matt Exp $     */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: md2.c,v 1.5 2008/04/28 20:23:00 martin Exp $");
+__RCSID("$NetBSD: md2.c,v 1.6 2012/03/20 17:06:43 matt Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -168,10 +168,9 @@
 }
 
 /*static*/ void
-MD2Transform(context)
-       MD2_CTX *context;
+MD2Transform(MD2_CTX *context)
 {
-       u_int32_t l, j, k, t;
+       uint32_t l, j, k, t;
 
        /* set block "3" and update "checksum" */
        for (l = context->C[15], j = 0; j < 16; j++) {



Home | Main Index | Thread Index | Old Index