summaryrefslogtreecommitdiff
path: root/libgcompat
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat')
-rw-r--r--libgcompat/resolv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcompat/resolv.c b/libgcompat/resolv.c
index 5943bcc..f70d913 100644
--- a/libgcompat/resolv.c
+++ b/libgcompat/resolv.c
@@ -40,3 +40,9 @@ int __res_nclose(res_state statp)
return 0;
}
weak_alias(__res_nclose, res_nclose);
+
+int __res_search(const char *dname, int class, int type, unsigned char *answer,
+ int anslen)
+{
+ return res_search(dname, class, type, answer, anslen);
+}