summaryrefslogtreecommitdiff
path: root/include/ohash.h
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 /include/ohash.h
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 'include/ohash.h')
-rw-r--r--include/ohash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ohash.h b/include/ohash.h
index 7b40fc1c059..85cf9114c53 100644
--- a/include/ohash.h
+++ b/include/ohash.h
@@ -1,6 +1,6 @@
#ifndef OHASH_H
#define OHASH_H
-/* $OpenBSD: ohash.h,v 1.8 2005/12/29 18:54:47 jaredy Exp $ */
+/* $OpenBSD: ohash.h,v 1.9 2006/01/16 15:52:25 espie Exp $ */
/* ex:ts=8 sw=4:
*/
@@ -53,9 +53,9 @@ void ohash_init(struct ohash *, unsigned, struct ohash_info *);
void ohash_delete(struct ohash *);
unsigned int ohash_lookup_interval(struct ohash *, const char *,
- const char *, u_int32_t);
+ const char *, uint32_t);
unsigned int ohash_lookup_memory(struct ohash *, const char *,
- size_t, u_int32_t)
+ size_t, uint32_t)
__attribute__ ((__bounded__(__string__,2,3)));
void *ohash_find(struct ohash *, unsigned int);
void *ohash_remove(struct ohash *, unsigned int);