diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2001-04-13 16:54:58 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2001-04-13 16:54:58 +0000 |
commit | 0c2ae111df8fc891df05bb7c97b847b1c08e42e7 (patch) | |
tree | cadd235a238901d8f9755956a77aef59c895795d /Src | |
parent | 55f6c9c3842b038bf135a422f928b74ccce38075 (diff) | |
download | zsh-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.c | 2 |
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) { |