2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +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

@@ -11,6 +11,7 @@
#include <config.h>
#include <inttypes.h>
#include <time.h>
#include <isc/log.h>
@@ -182,7 +183,7 @@ typedef struct rr rr_t;
struct rr {
/* dns_name_t name; */
isc_uint32_t ttl;
uint32_t ttl;
dns_rdata_t rdata;
};
@@ -1346,7 +1347,7 @@ add_exposed_sigs(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
isc_result_t
dns_update_signatures(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
dns_dbversion_t *oldver, dns_dbversion_t *newver,
dns_diff_t *diff, isc_uint32_t sigvalidityinterval)
dns_diff_t *diff, uint32_t sigvalidityinterval)
{
return (dns_update_signaturesinc(log, zone, db, oldver, newver, diff,
sigvalidityinterval, NULL));
@@ -1372,7 +1373,7 @@ struct dns_update_state {
isc_result_t
dns_update_signaturesinc(dns_update_log_t *log, dns_zone_t *zone, dns_db_t *db,
dns_dbversion_t *oldver, dns_dbversion_t *newver,
dns_diff_t *diff, isc_uint32_t sigvalidityinterval,
dns_diff_t *diff, uint32_t sigvalidityinterval,
dns_update_state_t **statep)
{
isc_result_t result = ISC_R_SUCCESS;
@@ -2063,10 +2064,10 @@ epoch_to_yyyymmdd(time_t when) {
((tm->tm_mon + 1) * 100) + tm->tm_mday);
}
isc_uint32_t
dns_update_soaserial(isc_uint32_t serial, dns_updatemethod_t method) {
uint32_t
dns_update_soaserial(uint32_t serial, dns_updatemethod_t method) {
isc_stdtime_t now;
isc_uint32_t new_serial;
uint32_t new_serial;
switch (method) {
case dns_updatemethod_none: