diff options
Diffstat (limited to 'libc/inet')
-rw-r--r-- | libc/inet/Makefile | 2 | ||||
-rw-r--r-- | libc/inet/resolv.c | 8 |
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, |