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 | 3605272b0a7a255f8cc252e76c45d982fa7ae9f6 (patch) | |
tree | 41777a659f07d261525c30df57238bb433d75694 /compat_ohash.c | |
parent | 5c070be20add59873701368a2033d7d993a416d6 (diff) | |
download | mandoc-3605272b0a7a255f8cc252e76c45d982fa7ae9f6.tar.gz |
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); |