summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-30 23:12:07 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-30 23:12:07 -0400
commite936e4612f2b06d5812eb9215ef69c6a5f5b17d7 (patch)
tree862be3721a5766f16770dc2bf5e3a650221be7e7 /src
parent191ebcac31ceb27664790a70a36ff4602e12d9d0 (diff)
downloadmusl-e936e4612f2b06d5812eb9215ef69c6a5f5b17d7.tar.gz
res_search symbol, aliased to res_query for now (better than nothing)
Diffstat (limited to 'src')
-rw-r--r--src/network/res_query.c3
1 files changed, 3 insertions, 0 deletions
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 <netdb.h>
#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);