Explorar el Código

* get_ip() is now static to net.c

svn: 1382
Bryan Drewery hace 21 años
padre
commit
11ff8638f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/net.c

+ 1 - 1
src/net.c

@@ -117,7 +117,7 @@ int sockprotocol(int sock)
 }
 }
 
 
 /* AF_INET-independent resolving routine */
 /* 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]))
   if (!hostname || (hostname && !hostname[0]))
     return 1;
     return 1;