2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Replace custom isc_u?intNN_t types with C99 u?intNN_t types

This commit is contained in:
Ondřej Surý
2018-03-28 14:19:37 +02:00
parent 055278c936
commit cb6a185c69
390 changed files with 2812 additions and 2528 deletions

View File

@@ -52,7 +52,7 @@ struct dns_bcentry {
dns_bcentry_t * next;
dns_rdatatype_t type;
isc_time_t expire;
isc_uint32_t flags;
uint32_t flags;
unsigned int hashval;
dns_name_t name;
};
@@ -157,7 +157,7 @@ badcache_resize(dns_badcache_t *bc, isc_time_t *now, isc_boolean_t grow) {
void
dns_badcache_add(dns_badcache_t *bc, const dns_name_t *name,
dns_rdatatype_t type, isc_boolean_t update,
isc_uint32_t flags, isc_time_t *expire)
uint32_t flags, isc_time_t *expire)
{
isc_result_t result;
unsigned int i, hashval;
@@ -226,7 +226,7 @@ dns_badcache_add(dns_badcache_t *bc, const dns_name_t *name,
isc_boolean_t
dns_badcache_find(dns_badcache_t *bc, const dns_name_t *name,
dns_rdatatype_t type, isc_uint32_t *flagp,
dns_rdatatype_t type, uint32_t *flagp,
isc_time_t *now)
{
dns_bcentry_t *bad, *prev, *next;
@@ -399,7 +399,7 @@ dns_badcache_print(dns_badcache_t *bc, const char *cachename, FILE *fp) {
dns_bcentry_t *bad, *next, *prev;
isc_time_t now;
unsigned int i;
isc_uint64_t t;
uint64_t t;
REQUIRE(VALID_BADCACHE(bc));
REQUIRE(cachename != NULL);