From d1bdeae7bb7a0642170d5476c2fd901db3028143 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 20 Apr 2000 17:39:02 +0000 Subject: [PATCH] moved typedef of dns_zone_callbackarg_t from to bin/tests/zone2_test.c; it's obsolete and zone2_test.c is the only place using it --- CHANGES | 3 +++ bin/tests/zone2_test.c | 2 ++ lib/dns/include/dns/types.h | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 7447402c6d..21b7e82bce 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,7 @@ + 65. [cleanup] Removed obsolete typedef of dns_zone_callbackarg_t + from . + 64. [func] The RBT, DB, and zone table APIs now allow the caller find the most-enclosing superdomain of a name. diff --git a/bin/tests/zone2_test.c b/bin/tests/zone2_test.c index 853cbf170f..4f4c0f01f6 100644 --- a/bin/tests/zone2_test.c +++ b/bin/tests/zone2_test.c @@ -50,6 +50,8 @@ } else \ (void)NULL +typedef struct dns_zone_callbackarg dns_zone_callbackarg_t; + struct dns_zone_callbackarg { isc_mem_t *mctx; dns_viewlist_t oldviews; diff --git a/lib/dns/include/dns/types.h b/lib/dns/include/dns/types.h index 127451f933..4ffe4b339c 100644 --- a/lib/dns/include/dns/types.h +++ b/lib/dns/include/dns/types.h @@ -86,7 +86,6 @@ typedef struct dns_view dns_view_t; typedef ISC_LIST(dns_view_t) dns_viewlist_t; typedef struct dns_zone dns_zone_t; typedef struct dns_zonemgr dns_zonemgr_t; -typedef struct dns_zone_callbackarg dns_zone_callbackarg_t; typedef struct dns_a6context dns_a6context_t; typedef struct dns_rbt dns_rbt_t; typedef struct dns_zt dns_zt_t;