diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-13 05:44:50 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-13 05:44:50 -0500 |
commit | 7435d175f409d3e41f7a0d3365ac725a6a00f2c5 (patch) | |
tree | 990df1f7a81239d985093447a53e9bf9edb02ea4 /libgcompat | |
parent | 8d4cfd83df0aa386282bba149fd3f790745cfea8 (diff) | |
download | gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.tar.gz gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.tar.bz2 gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.tar.xz gcompat-7435d175f409d3e41f7a0d3365ac725a6a00f2c5.zip |
resolv: add __res_search alias
Diffstat (limited to 'libgcompat')
-rw-r--r-- | libgcompat/resolv.c | 6 |
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); +} |