diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2006-01-16 15:52:26 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2006-01-16 15:52:26 +0000 |
commit | faff3a497a1d7aea1f2e65f3e27c8c6aeadb3d06 (patch) | |
tree | a6553a1cd788cd9cf26d5a7ae4824acac2abef57 /lib/libc/ohash/ohash_init.3 | |
parent | 5131c0036d7d2582fd928abfc656b6d78ed8ee77 (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_init.3')
-rw-r--r-- | lib/libc/ohash/ohash_init.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/ohash/ohash_init.3 b/lib/libc/ohash/ohash_init.3 index 1a65f8f8403..161db6d0e08 100644 --- a/lib/libc/ohash/ohash_init.3 +++ b/lib/libc/ohash/ohash_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ohash_init.3,v 1.12 2005/07/29 08:51:13 jmc Exp $ +.\" $OpenBSD: ohash_init.3,v 1.13 2006/01/16 15:52:25 espie Exp $ .\" Copyright (c) 1999 Marc Espie <espie@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any @@ -29,7 +29,7 @@ .Nm ohash_entries .Nd light-weight open hashing .Sh SYNOPSIS -.Fd #include <sys/types.h> +.Fd #include <stdint.h> .Fd #include <stddef.h> .Fd #include <ohash.h> .Ft void @@ -37,9 +37,9 @@ .Ft void .Fn ohash_delete "struct ohash *h" .Ft "unsigned int" -.Fn ohash_lookup_interval "struct ohash *h" "const char *start" "const char *end" "u_int32_t hv" +.Fn ohash_lookup_interval "struct ohash *h" "const char *start" "const char *end" "uint32_t hv" .Ft "unsigned int" -.Fn ohash_lookup_memory "struct ohash *h" "const char *k" "size_t s" "u_int32_t hv" +.Fn ohash_lookup_memory "struct ohash *h" "const char *k" "size_t s" "uint32_t hv" .Ft void * .Fn ohash_find "struct ohash *h" "unsigned int i" .Ft void * |