summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2001-04-13 16:54:58 +0000
committerWayne Davison <wayned@users.sourceforge.net>2001-04-13 16:54:58 +0000
commit0c2ae111df8fc891df05bb7c97b847b1c08e42e7 (patch)
treecadd235a238901d8f9755956a77aef59c895795d /Src
parent55f6c9c3842b038bf135a422f928b74ccce38075 (diff)
downloadzsh-0c2ae111df8fc891df05bb7c97b847b1c08e42e7.tar.gz
zsh-0c2ae111df8fc891df05bb7c97b847b1c08e42e7.tar.xz
zsh-0c2ae111df8fc891df05bb7c97b847b1c08e42e7.zip
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.
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/zftp.c2
1 files changed, 1 insertions, 1 deletions
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) {