diff options
| author | 2020-01-09 18:17:14 +0000 | |
|---|---|---|
| committer | 2020-01-09 18:17:14 +0000 | |
| commit | efcc66dac05750a3e8f785336e18c8db46f7c4de (patch) | |
| tree | ee735efb62359255257c388aec982c7b35c2a91c /usr.sbin/bind/lib/isccfg/parser.c | |
| parent | We use __dead for functions that do not return. (diff) | |
| download | wireguard-openbsd-efcc66dac05750a3e8f785336e18c8db46f7c4de.tar.xz wireguard-openbsd-efcc66dac05750a3e8f785336e18c8db46f7c4de.zip | |
Use normal int types like int32_t instead of isc_int32_t.
OK millert
Diffstat (limited to 'usr.sbin/bind/lib/isccfg/parser.c')
| -rw-r--r-- | usr.sbin/bind/lib/isccfg/parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bind/lib/isccfg/parser.c b/usr.sbin/bind/lib/isccfg/parser.c index 225a6e25ae0..71998fad55d 100644 --- a/usr.sbin/bind/lib/isccfg/parser.c +++ b/usr.sbin/bind/lib/isccfg/parser.c @@ -755,7 +755,7 @@ cfg_print_fixedpoint(cfg_printer_t *pctx, const cfg_obj_t *obj) { cfg_print_chars(pctx, buf, strlen(buf)); } -isc_uint32_t +uint32_t cfg_obj_asfixedpoint(const cfg_obj_t *obj) { REQUIRE(obj != NULL && obj->type->rep == &cfg_rep_fixedpoint); return (obj->value.uint32); @@ -817,7 +817,7 @@ cfg_obj_isuint32(const cfg_obj_t *obj) { return (ISC_TF(obj->type->rep == &cfg_rep_uint32)); } -isc_uint32_t +uint32_t cfg_obj_asuint32(const cfg_obj_t *obj) { REQUIRE(obj != NULL && obj->type->rep == &cfg_rep_uint32); return (obj->value.uint32); @@ -838,7 +838,7 @@ cfg_obj_isuint64(const cfg_obj_t *obj) { return (ISC_TF(obj->type->rep == &cfg_rep_uint64)); } -isc_uint64_t +uint64_t cfg_obj_asuint64(const cfg_obj_t *obj) { REQUIRE(obj != NULL && obj->type->rep == &cfg_rep_uint64); return (obj->value.uint64); @@ -2075,7 +2075,7 @@ token_addr(cfg_parser_t *pctx, unsigned int flags, isc_netaddr_t *na) { if ((flags & CFG_ADDR_V6OK) != 0 && strlen(s) <= 127U) { char buf[128]; /* see lib/bind9/getaddresses.c */ char *d; /* zone delimiter */ - isc_uint32_t zone = 0; /* scope zone ID */ + uint32_t zone = 0; /* scope zone ID */ strlcpy(buf, s, sizeof(buf)); d = strchr(buf, '%'); |
