Преглед изворни кода

* get_ip() is now static to net.c

svn: 1382
Bryan Drewery пре 21 година
родитељ
комит
11ff8638f7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/net.c

+ 1 - 1
src/net.c

@@ -117,7 +117,7 @@ int sockprotocol(int sock)
 }
 
 /* AF_INET-independent resolving routine */
-int get_ip(char *hostname, union sockaddr_union *so)
+static int get_ip(char *hostname, union sockaddr_union *so)
 {
   if (!hostname || (hostname && !hostname[0]))
     return 1;