Fix dn_comp prototype and add stub

This function is used by ping6 from iputils.
This commit is contained in:
Michael Forney 2013-11-23 22:33:05 -08:00 • committed by Rich Felker
commit 642936d6dd
2 changed files with 10 additions and 1 deletions

9
src/network/dn_comp.c Normal file
View 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);