From: Rich Felker Date: Fri, 1 Jul 2011 03:12:07 +0000 (-0400) Subject: res_search symbol, aliased to res_query for now (better than nothing) X-Git-Tag: v0.7.12~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e936e4612f2b06d5812eb9215ef69c6a5f5b17d7;p=oweals%2Fmusl.git res_search symbol, aliased to res_query for now (better than nothing) --- diff --git a/src/network/res_query.c b/src/network/res_query.c index 4ebeb102..42009992 100644 --- a/src/network/res_query.c +++ b/src/network/res_query.c @@ -1,5 +1,6 @@ #include #include "__dns.h" +#include "libc.h" int res_query(const char *name, int class, int type, unsigned char *dest, int len) { @@ -18,3 +19,5 @@ int res_query(const char *name, int class, int type, unsigned char *dest, int le } return 512; } + +weak_alias(res_query, res_search);