From 63729cc95e2c02faf1aef2a42c3f0dd20c34759f Mon Sep 17 00:00:00 2001 From: Tau Date: Sat, 7 Sep 2019 16:25:12 -0400 Subject: [PATCH] hooklib/dns.c: Delineate declarations --- hooklib/dns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hooklib/dns.c b/hooklib/dns.c index 1dbbc53..b8e58d2 100644 --- a/hooklib/dns.c +++ b/hooklib/dns.c @@ -36,6 +36,8 @@ struct dns_hook_entry { wchar_t *to; }; +/* Hook funcs */ + static DNS_STATUS WINAPI hook_DnsQuery_A( const char *pszName, WORD wType, @@ -57,6 +59,8 @@ static DNS_STATUS WINAPI hook_DnsQueryEx( void *pQueryResults, void *pCancelHandle); +/* Link pointers */ + static DNS_STATUS WINAPI (*next_DnsQuery_A)( const char *pszName, WORD wType,