From 47fc92eabc296f9232de40ba33be9c2931613c57 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Thu, 22 Oct 2020 00:30:17 +0000 Subject: [PATCH] reordered makefile for linking compatibility, cast const to remove warning --- dns.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dns.h b/dns.h index b6e6a90..0776827 100644 --- a/dns.h +++ b/dns.h @@ -8,5 +8,5 @@ #define T_TXT 16 // Text record #define T_AAAA 28 // IPv6 address -void resolve(unsigned char* buf, char* hostname, char* dns_ip, int query_type); +struct timespec resolve(unsigned char* buf, char* hostname, char* dns_ip, int query_type); void print_packet(unsigned char* buf); -- Gitblit v1.10.0