Fix dn_comp prototype and add stub
This function is used by ping6 from iputils.
This commit is contained in:
parent
22f29bfebe
commit
642936d6dd
2 changed files with 10 additions and 1 deletions
9
src/network/dn_comp.c
Normal file
9
src/network/dn_comp.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue