add _res (__res_state()) dummy

This commit is contained in:
Rich Felker 2011-04-06 15:47:26 -04:00
parent 2b55a619e4
commit 97d0988fd8
1 changed files with 9 additions and 0 deletions

9
src/network/res_state.c Normal file
View File

@ -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;
}