diff options
-rw-r--r-- | CHANGELOG.rst | 6 | ||||
-rw-r--r-- | libgcompat/resolv.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0af10e9..31475d4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -24,6 +24,12 @@ math * Add most __*_finite functions, courtesy of Elizabeth Myers. +resolv +------ + +* Add __res_search -> res_search alias. + + socket ------ 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); +} |