From: Wouter Wijngaards Date: Fri, 20 Aug 2010 13:37:19 +0000 (+0000) Subject: more send_packet defs removed X-Git-Tag: release-1.4.7rc1~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599aec4a231bac6171c47ffc79b014efd2699d08;p=thirdparty%2Funbound.git more send_packet defs removed git-svn-id: file:///svn/unbound/trunk@2223 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/daemon/worker.c b/daemon/worker.c index 6cb6bb226..67285b805 100644 --- a/daemon/worker.c +++ b/daemon/worker.c @@ -1264,15 +1264,6 @@ void worker_stats_clear(struct worker* worker) } /* --- fake callbacks for fptr_wlist to work --- */ -int libworker_send_packet(ldns_buffer* ATTR_UNUSED(pkt), - struct sockaddr_storage* ATTR_UNUSED(addr), - socklen_t ATTR_UNUSED(addrlen), int ATTR_UNUSED(timeout), - struct module_qstate* ATTR_UNUSED(q), int ATTR_UNUSED(use_tcp)) -{ - log_assert(0); - return 0; -} - struct outbound_entry* libworker_send_query(uint8_t* ATTR_UNUSED(qname), size_t ATTR_UNUSED(qnamelen), uint16_t ATTR_UNUSED(qtype), uint16_t ATTR_UNUSED(qclass), uint16_t ATTR_UNUSED(flags), diff --git a/smallapp/worker_cb.c b/smallapp/worker_cb.c index 9c74b321c..be4103e3a 100644 --- a/smallapp/worker_cb.c +++ b/smallapp/worker_cb.c @@ -100,15 +100,6 @@ void worker_sighandler(int ATTR_UNUSED(sig), void* ATTR_UNUSED(arg)) log_assert(0); } -int worker_send_packet(ldns_buffer* ATTR_UNUSED(pkt), - struct sockaddr_storage* ATTR_UNUSED(addr), - socklen_t ATTR_UNUSED(addrlen), int ATTR_UNUSED(timeout), - struct module_qstate* ATTR_UNUSED(q), int ATTR_UNUSED(use_tcp)) -{ - log_assert(0); - return 0; -} - struct outbound_entry* worker_send_query(uint8_t* ATTR_UNUSED(qname), size_t ATTR_UNUSED(qnamelen), uint16_t ATTR_UNUSED(qtype), uint16_t ATTR_UNUSED(qclass), uint16_t ATTR_UNUSED(flags),