diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-04 14:09:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-04 14:09:28 +0000 |
commit | 2d07d29d15cb7ab36082c8cbff8106442c1bede2 (patch) | |
tree | 63276cfc4ca0227dc50c3b449d595758b2e89f86 /compat_ohash.c | |
parent | c2df3e519a8701a868dc4910744c40b42e3f73e4 (diff) | |
download | mandoc-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.c')
-rw-r--r-- | compat_ohash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat_ohash.c b/compat_ohash.c index 802f458d..17add257 100644 --- a/compat_ohash.c +++ b/compat_ohash.c @@ -17,7 +17,7 @@ int dummy; #include "compat_ohash.h" struct _ohash_record { - u_int32_t hv; + uint32_t hv; const char *p; }; @@ -328,7 +328,7 @@ ohash_qlookup(struct ohash *h, const char *s) unsigned int ohash_qlookupi(struct ohash *h, const char *s, const char **e) { - u_int32_t hv; + uint32_t hv; hv = ohash_interval(s, e); return ohash_lookup_interval(h, s, *e, hv); |