Browse Source

Doh! search-n-replace strikes again
-Erik

Eric Andersen 22 năm trước cách đây
mục cha
commit
c1383d79d3
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 1 1
      libc/inet/Makefile
  2. 4 4
      libc/inet/resolv.c

+ 1 - 1
libc/inet/Makefile

@@ -42,7 +42,7 @@ MOBJ2=encodeh.o decodeh.o encoded.o decoded.o lengthd.o encodeq.o \
 	closenameservers.o resolvename.o gethostbyname.o res_init.o \
 	res_query.o gethostbyaddr.o read_etc_hosts_r.o get_hosts_byname_r.o \
 	get_hosts_byaddr_r.o gethostbyname2.o getnameinfo.o gethostent.o \
-	gethostbyname_r.o gethostbyname2_r.o gethostbyaddr_r.o
+	gethostbyname_r.o gethostbyname2_r.o gethostbyaddr_r.o connect_dns.o
 
 MSRC3=socketcalls.c
 MOBJ3= accept.o bind.o connect.o getpeername.o getsockname.o getsockopt.o \

+ 4 - 4
libc/inet/resolv.c

@@ -531,7 +531,7 @@ int __form_query(int id, const char *name, int type, unsigned char *packet,
 }
 #endif
 
-#ifdef L___connect_dns
+#ifdef L_connect_dns
 int __connect_dns(char *nsip)
 {
 	int fd, rc;
@@ -1046,7 +1046,7 @@ struct hostent *gethostbyaddr (const void *addr, socklen_t len, int type)
 #endif
 
 
-#ifdef L___read_etc_hosts_r
+#ifdef L_read_etc_hosts_r
 
 void __open_etc_hosts(FILE **fp)
 {
@@ -1263,7 +1263,7 @@ struct hostent *gethostent (void)
 }
 #endif
 
-#ifdef L___get_hosts_byname_r
+#ifdef L_get_hosts_byname_r
 
 int __get_hosts_byname_r(const char * name, int type,
 			    struct hostent * result_buf,
@@ -1275,7 +1275,7 @@ int __get_hosts_byname_r(const char * name, int type,
 }
 #endif
 
-#ifdef L___get_hosts_byaddr_r
+#ifdef L_get_hosts_byaddr_r
 
 int __get_hosts_byaddr_r(const char * addr, int len, int type,
 			    struct hostent * result_buf,