OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d872e
)
Remove __res_state function.
author
Miles Bader
<miles@lsi.nec.co.jp>
Fri, 16 Aug 2002 08:56:23 +0000
(08:56 -0000)
committer
Miles Bader
<miles@lsi.nec.co.jp>
Fri, 16 Aug 2002 08:56:23 +0000
(08:56 -0000)
libc/inet/resolv.c
patch
|
blob
|
history
diff --git
a/libc/inet/resolv.c
b/libc/inet/resolv.c
index
4651896
..
6388db4
100644
(file)
--- 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) {