summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-07 07:52:28 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-07 07:52:28 +0000
commitc1383d79d31e9607a938215462f025bad3f14060 (patch)
tree2bacd7572f0a0692571fae91818795b0c088a3a9
parentd4e1ba696676ad105d0a322934a3eeb2e1cf6ea3 (diff)
Doh! search-n-replace strikes again
-Erik
-rw-r--r--libc/inet/Makefile2
-rw-r--r--libc/inet/resolv.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/libc/inet/Makefile b/libc/inet/Makefile
index 0e43caa2e..67699506a 100644
--- a/libc/inet/Makefile
+++ b/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 \
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 96feedbbe..f813b1273 100644
--- a/libc/inet/resolv.c
+++ b/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,