提交 642936d6 编写于 作者: M Michael Forney 提交者: Rich Felker

Fix dn_comp prototype and add stub

This function is used by ping6 from iputils.
上级 22f29bfe
......@@ -133,7 +133,7 @@ int res_querydomain(const char *, const char *, int, int, unsigned char *, int);
int res_search(const char *, int, int, unsigned char *, int);
int res_mkquery(int, const char *, int, int, char *, int, struct rrec *, char *, int);
int res_send(const char *, int, char *, int);
int dn_comp(unsigned char *, unsigned char *, int, unsigned char **, unsigned char *, unsigned char **);
int dn_comp(const char *, unsigned char *, int, unsigned char **, unsigned char **);
int dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int);
int dn_skipname(const unsigned char *, const unsigned char *);
......
#include <resolv.h>
#include "libc.h"
int __dn_comp(const char *src, unsigned char *dst, int space, unsigned char **dnptrs, unsigned char **lastdnptr)
{
return -1;
}
weak_alias(__dn_comp, dn_comp);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册