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.8.0~96^2~338 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5db790a83176c566b9f8339262f9da346abd900b;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 --- 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;