summaryrefslogtreecommitdiff
path: root/lib/libc/ohash/ohash_lookup_memory.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-01-16 15:52:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-01-16 15:52:26 +0000
commitfaff3a497a1d7aea1f2e65f3e27c8c6aeadb3d06 (patch)
treea6553a1cd788cd9cf26d5a7ae4824acac2abef57 /lib/libc/ohash/ohash_lookup_memory.c
parent5131c0036d7d2582fd928abfc656b6d78ed8ee77 (diff)
use standard type uint32_t, instead of BSD-specific u_int32_t
tell user to get it through stdint.h (note old sys/types.h still works, for now). okay millert@, jmc@
Diffstat (limited to 'lib/libc/ohash/ohash_lookup_memory.c')
-rw-r--r--lib/libc/ohash/ohash_lookup_memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/ohash/ohash_lookup_memory.c b/lib/libc/ohash/ohash_lookup_memory.c
index 64deb50b167..93ded5ae728 100644
--- a/lib/libc/ohash/ohash_lookup_memory.c
+++ b/lib/libc/ohash/ohash_lookup_memory.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohash_lookup_memory.c,v 1.2 2004/06/22 20:00:17 espie Exp $ */
+/* $OpenBSD: ohash_lookup_memory.c,v 1.3 2006/01/16 15:52:25 espie Exp $ */
/* ex:ts=8 sw=4:
*/
@@ -20,7 +20,7 @@
#include "ohash_int.h"
unsigned int
-ohash_lookup_memory(struct ohash *h, const char *k, size_t size, u_int32_t hv)
+ohash_lookup_memory(struct ohash *h, const char *k, size_t size, uint32_t hv)
{
unsigned int i, incr;
unsigned int empty;