浏览代码

* get_ip() is now static to net.c

svn: 1382
Bryan Drewery 22 年之前
父节点
当前提交
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;