X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fnetwork%2Fres_query.c;h=42009992d44b9cec63c5799f74583489bbd3b67d;hb=700a8156adc5bfb3ddf9c92dab4ffd516df31958;hp=4ebeb102a053389012a9448af03f0050512d742a;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl 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);