summaryrefslogtreecommitdiff
path: root/src/skadns/skadns_send.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-14 08:39:30 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-14 08:39:30 +0000
commit6036845e863305a4e8536b5959dac750fabea952 (patch)
tree4fd9d6530fac65e9184e6101fa0f686726bfb091 /src/skadns/skadns_send.c
parent9d687b0719a1ad72f2e0cacc566e0b550d4cede9 (diff)
downloads6-dns-6036845e863305a4e8536b5959dac750fabea952.tar.xz
Cleanup of superfluous includes
Diffstat (limited to 'src/skadns/skadns_send.c')
-rw-r--r--src/skadns/skadns_send.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/skadns/skadns_send.c b/src/skadns/skadns_send.c
index 35177c2..9df39f0 100644
--- a/src/skadns/skadns_send.c
+++ b/src/skadns/skadns_send.c
@@ -4,19 +4,16 @@
#include <string.h>
#include <stdint.h>
#include <errno.h>
-#include <skalibs/types.h>
-#include <skalibs/tai.h>
-#include <skalibs/stralloc.h>
+#include <skalibs/uint16.h>
#include <skalibs/gensetdyn.h>
#include <skalibs/skaclient.h>
-#include <s6-dns/s6dns-domain.h>
#include <s6-dns/skadns.h>
static skadnsanswer_t const skadnsanswer_initial = { .status = EAGAIN, .data = 0, .len = 0 } ;
int skadns_send (skadns_t *a, uint16_t *u, s6dns_domain_t const *d, uint16_t qtype, tain_t const *limit, tain_t const *deadline, tain_t *stamp)
{
- unsigned int i ;
+ uint32_t i ;
char tmp[17] = "--Q" ;
char err ;
struct iovec v[2] = { { .iov_base = tmp, .iov_len = 17 }, { .iov_base = (void *)d->s, .iov_len = d->len } } ;