cancel_query: fix stupid build error

This commit is contained in:
Elizabeth Myers 2016-03-12 07:36:57 -06:00
parent 45ac1e3ce6
commit 540676fc18
3 changed files with 10016 additions and 9 deletions

10021
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

View File

@ -104,7 +104,7 @@ lookup_hostname(const char *ip, int aftype, DNSCB callback, void *data)
}
/* Cancel a pending query */
static void
void
cancel_query(struct dns_query *query)
{
query->callback = query->data = NULL;

View File

@ -52,7 +52,7 @@ struct dns_query
extern struct dns_query *lookup_hostname(const char *ip, int aftype, DNSCB callback, void *data);
extern struct dns_query *lookup_ip(const char *host, int aftype, DNSCB callback, void *data);
extern static void cancel_query(struct dns_query *query);
extern void cancel_query(struct dns_query *query);
extern void resolve_dns(int parc, char *parv[]);
extern void enumerate_nameservers(const char *rid, const char letter);