musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/res_query.c 3
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);
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月04日 11:12:08 +0000

AltStyle によって変換されたページ (->オリジナル) /