]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
more send_packet defs removed
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 Aug 2010 13:37:19 +0000 (13:37 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 Aug 2010 13:37:19 +0000 (13:37 +0000)
git-svn-id: file:///svn/unbound/trunk@2223 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/worker.c
smallapp/worker_cb.c

index 6cb6bb22685f91487ce5affcaa4717dbc3babacf..67285b8052e039fee32d8e4132d24e0c2d6df8f0 100644 (file)
@@ -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), 
index 9c74b321c129fe561dcb0ab28950b532d4300fb8..be4103e3a5d93d50858effcf12a537035ea5c730 100644 (file)
@@ -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),