From: divverent Date: Fri, 10 Feb 2012 14:00:22 +0000 (+0000) Subject: add a static to an unprototyped internal function to shut off warning X-Git-Tag: xonotic-v0.6.0~37 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3472427f81518f21d60fe23ab2761b885be556db;p=xonotic%2Fdarkplaces.git add a static to an unprototyped internal function to shut off warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11676 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=5db790a83176c566b9f8339262f9da346abd900b --- diff --git a/lhnet.c b/lhnet.c index cb87b6d3..c07866ad 100644 --- a/lhnet.c +++ b/lhnet.c @@ -154,7 +154,7 @@ int LHNETADDRESS_FromPort(lhnetaddress_t *vaddress, lhnetaddresstype_t addressty } #ifdef SUPPORTIPV6 -int LHNETADDRESS_Resolve(lhnetaddressnative_t *address, const char *name, int port) +static int LHNETADDRESS_Resolve(lhnetaddressnative_t *address, const char *name, int port) { char port_buff [16]; struct addrinfo hints;