From 745b8250776e5e68c6d00f66c4478babaa908bfb Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Sat, 12 Sep 2020 14:30:25 +0200 Subject: [PATCH] Fixes for Watt-32 on Windows and MSDOS (#354) Move the prototype to 'ares_private.h'. Fix By: Gisle Vanem (@gvanem) --- src/lib/ares_gethostbyaddr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/ares_gethostbyaddr.c b/src/lib/ares_gethostbyaddr.c index a8ca0f57..54eb5997 100644 --- a/src/lib/ares_gethostbyaddr.c +++ b/src/lib/ares_gethostbyaddr.c @@ -208,7 +208,6 @@ static int file_lookup(struct ares_addr *addr, struct hostent **host) strcat(PATH_HOSTS, WIN_PATH_HOSTS); #elif defined(WATT32) - extern const char *_w32_GetHostsFile (void); const char *PATH_HOSTS = _w32_GetHostsFile(); if (!PATH_HOSTS)