From: Wouter Wijngaards Date: Fri, 20 Aug 2010 13:56:44 +0000 (+0000) Subject: more send_packet removal X-Git-Tag: release-1.4.7rc1~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=723a54f948f1e9666ea06be9da57083439f4f754;p=thirdparty%2Funbound.git more send_packet removal git-svn-id: file:///svn/unbound/trunk@2224 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/libunbound/libworker.c b/libunbound/libworker.c index 489df698a..aae8a9665 100644 --- a/libunbound/libworker.c +++ b/libunbound/libworker.c @@ -810,15 +810,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), diff --git a/smallapp/worker_cb.c b/smallapp/worker_cb.c index be4103e3a..8e86caaeb 100644 --- a/smallapp/worker_cb.c +++ b/smallapp/worker_cb.c @@ -131,15 +131,6 @@ worker_alloc_cleanup(void* ATTR_UNUSED(arg)) log_assert(0); } -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),