aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_ohash.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-01-04 14:09:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-01-04 14:09:28 +0000
commit2d07d29d15cb7ab36082c8cbff8106442c1bede2 (patch)
tree63276cfc4ca0227dc50c3b449d595758b2e89f86 /compat_ohash.h
parentc2df3e519a8701a868dc4910744c40b42e3f73e4 (diff)
downloadmandoc-2d07d29d15cb7ab36082c8cbff8106442c1bede2.tar.gz
mandoc-2d07d29d15cb7ab36082c8cbff8106442c1bede2.tar.zst
mandoc-2d07d29d15cb7ab36082c8cbff8106442c1bede2.zip
Use C99 uint32_t, not BSD-style u_int32_t.
Needed for Solaris 10 as reported by Matthias Scheler.
Diffstat (limited to 'compat_ohash.h')
-rw-r--r--compat_ohash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat_ohash.h b/compat_ohash.h
index 85cf9114..9099adc5 100644
--- a/compat_ohash.h
+++ b/compat_ohash.h
@@ -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 *);