From 0c2ae111df8fc891df05bb7c97b847b1c08e42e7 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 13 Apr 2001 16:54:58 +0000 Subject: Don't define gethostbyname2() as static, since it can clash with the system header files on a system that provides the prototype but not the object. --- Src/Modules/zftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 9bcc65fa2..023d7de18 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -220,7 +220,7 @@ getipnodebyname(char const *name, int af, int flags, int *errorp) # ifndef HAVE_GETHOSTBYNAME2 /**/ -static struct hostent * +struct hostent * gethostbyname2(char const *name, int af) { if(af != AF_INET) { -- cgit 1.4.1