1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

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.
This commit is contained in:
Wayne Davison 2001-04-13 16:54:58 +00:00
parent 55f6c9c384
commit 0c2ae111df

@ -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) {