diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c index 13f5ba69b08..10e3204e39f 100644 --- a/dlls/dnsapi/main.c +++ b/dlls/dnsapi/main.c @@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dnsapi); -HINSTANCE hdnsapi; +static HINSTANCE hdnsapi; BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) { diff --git a/dlls/dnsapi/ns_name.c b/dlls/dnsapi/ns_name.c index 542ea1b57ae..de5fbdb14f6 100644 --- a/dlls/dnsapi/ns_name.c +++ b/dlls/dnsapi/ns_name.c @@ -54,7 +54,7 @@ static int printable(int); * The root is returned as "." * All other domains are returned in non absolute form */ -int +static int dns_ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) { const u_char *cp; char *dn, *eom; @@ -275,7 +275,7 @@ dns_ns_name_pton(const char *src, u_char *dst, size_t dstsiz) { * return: * -1 if it fails, or consumed octets if it succeeds. */ -int +static int dns_ns_name_unpack(const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz) {