res_search symbol, aliased to res_query for now (better than nothing)
This commit is contained in:
parent
191ebcac31
commit
e936e4612f
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue