summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-08-16 08:56:23 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-08-16 08:56:23 +0000
commit7a0a0df2f2c9d4ddd6b6543498588a45c19afa6e (patch)
treef5e3fe21bb4da3920dcc861986774a4829bdb6b4
parentd1d872e8f28274d79cd4b915bb17377c866f5868 (diff)
downloaduClibc-alpine-7a0a0df2f2c9d4ddd6b6543498588a45c19afa6e.tar.bz2
uClibc-alpine-7a0a0df2f2c9d4ddd6b6543498588a45c19afa6e.tar.xz
Remove __res_state function.
-rw-r--r--libc/inet/resolv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 4651896a5..6388db4c3 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -959,10 +959,6 @@ struct netent * getnetbyname(const char * name)
#ifdef L_res_init
struct __res_state * __res;
-#ifndef _res
-#define _res (*__res_state())
-#endif
-
int res_init(void)
{
struct __res_state *rp = __res;
@@ -1013,14 +1009,6 @@ int res_init(void)
return(0);
}
-struct __res_state * __res_state (void)
-{
- if(!__res) {
- res_init();
- }
- return __res;
-}
-
void res_close( void )
{
if(__res) {