]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
add a static to an unprototyped internal function to shut off warning
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 10 Feb 2012 14:00:22 +0000 (14:00 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 11 Feb 2012 16:00:55 +0000 (17:00 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11676 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=5db790a83176c566b9f8339262f9da346abd900b

lhnet.c

diff --git a/lhnet.c b/lhnet.c
index cb87b6d319e2ae866f94ca9bf11d1856120aa9cd..c07866adaaf31cc039f58aac2179914fea24d956 100644 (file)
--- 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;