From 97d0988fd816ff9474535cf356b53ce6a5acc6ef Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 6 Apr 2011 15:47:26 -0400 Subject: [PATCH] add _res (__res_state()) dummy --- src/network/res_state.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/network/res_state.c diff --git a/src/network/res_state.c b/src/network/res_state.c new file mode 100644 index 00000000..5c42cda5 --- /dev/null +++ b/src/network/res_state.c @@ -0,0 +1,9 @@ +#include + +/* This is completely unused, and exists purely to satisfy broken apps. */ + +struct __res_state *__res_state() +{ + static struct __res_state res; + return &res; +} -- 2.25.1