Module Name: src
Committed By: matt
Date: Tue Mar 20 17:06:43 UTC 2012
Modified Files:
src/lib/libc/hash/md2: md2.c
Log Message:
Use C89 definition.
u_int*_t -> uint*_t
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/hash/md2/md2.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/hash/md2/md2.c
diff -u src/lib/libc/hash/md2/md2.c:1.5 src/lib/libc/hash/md2/md2.c:1.6
--- src/lib/libc/hash/md2/md2.c:1.5 Mon Apr 28 20:23:00 2008
+++ src/lib/libc/hash/md2/md2.c Tue Mar 20 17:06:43 2012
@@ -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 @@ MD2Final(digest, context)
}
/*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++) {