mirror of git://git.musl-libc.org/musl
add _res (__res_state()) dummy
This commit is contained in:
parent
2b55a619e4
commit
97d0988fd8
|
@ -0,0 +1,9 @@
|
|||
#include <resolv.h>
|
||||
|
||||
/* This is completely unused, and exists purely to satisfy broken apps. */
|
||||
|
||||
struct __res_state *__res_state()
|
||||
{
|
||||
static struct __res_state res;
|
||||
return &res;
|
||||
}
|
Loading…
Reference in New Issue