cancel_query: fix stupid build error
This commit is contained in:
parent
45ac1e3ce6
commit
540676fc18
3 changed files with 10016 additions and 9 deletions
10021
aclocal.m4
vendored
10021
aclocal.m4
vendored
File diff suppressed because it is too large
Load diff
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue