diff --git a/lib/dns/include/dns/dispatch.h b/lib/dns/include/dns/dispatch.h index bb0c5b0f4b..7870db45bf 100644 --- a/lib/dns/include/dns/dispatch.h +++ b/lib/dns/include/dns/dispatch.h @@ -61,7 +61,7 @@ ISC_LANG_BEGINDECLS * The "free" routine for this event will clean up itself as well as * any buffer space allocated from common pools. */ -typedef struct dns_dispatchevent dns_dispatchevent_t; + struct dns_dispatchevent { ISC_EVENT_COMMON(dns_dispatchevent_t); /* standard event common */ isc_result_t result; /* result code */ @@ -70,8 +70,6 @@ struct dns_dispatchevent { isc_buffer_t buffer; /* data buffer */ }; -typedef struct dns_dispentry dns_dispentry_t; - isc_result_t dns_dispatch_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task, unsigned int maxbuffersize,