projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191ebca
)
res_search symbol, aliased to res_query for now (better than nothing)
author
Rich Felker
<dalias@aerifal.cx>
Fri, 1 Jul 2011 03:12:07 +0000
(23:12 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 1 Jul 2011 03:12:07 +0000
(23:12 -0400)
src/network/res_query.c
patch
|
blob
|
history
diff --git
a/src/network/res_query.c
b/src/network/res_query.c
index 4ebeb102a053389012a9448af03f0050512d742a..42009992d44b9cec63c5799f74583489bbd3b67d 100644
(file)
--- 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);