diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-09-23 15:05:24 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-09-23 15:05:24 +0000 |
commit | 103aa57fddf69424b12defe84d9f0d063c1283fa (patch) | |
tree | 1b5bda23f86008b5a913a20456b015152540771b /include | |
parent | 96e3ebb906b3f6eb2b8671c428a41c82b4a617ab (diff) |
uint32_t is the integer type defined in stdint.h
u_int32_t is historical BSD stuff.
fix to match the manpage, namely #include <stdint.h> as a prerequisite.
okay millert@
Diffstat (limited to 'include')
-rw-r--r-- | include/ohash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ohash.h b/include/ohash.h index 85cf9114c53..71e7ac19724 100644 --- a/include/ohash.h +++ b/include/ohash.h @@ -1,6 +1,6 @@ #ifndef OHASH_H #define OHASH_H -/* $OpenBSD: ohash.h,v 1.9 2006/01/16 15:52:25 espie Exp $ */ +/* $OpenBSD: ohash.h,v 1.10 2012/09/23 15:05:23 espie Exp $ */ /* ex:ts=8 sw=4: */ @@ -65,7 +65,7 @@ void *ohash_next(struct ohash *, unsigned int *); unsigned int ohash_entries(struct ohash *); void *ohash_create_entry(struct ohash_info *, const char *, const char **); -u_int32_t ohash_interval(const char *, const char **); +uint32_t ohash_interval(const char *, const char **); unsigned int ohash_qlookupi(struct ohash *, const char *, const char **); unsigned int ohash_qlookup(struct ohash *, const char *); |