diff options
author | Michael Forney <mforney@mforney.org> | 2013-11-23 22:33:05 -0800 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-11-24 09:39:30 -0500 |
commit | 642936d6dd22b99534cab4099deea8d6ceefeea0 (patch) | |
tree | fe3a4394c805b8a79bf3ce3584f4172191217072 /src/network/dn_comp.c | |
parent | 22f29bfebe04ac07bc1907406137fcbd373ede36 (diff) | |
download | musl-642936d6dd22b99534cab4099deea8d6ceefeea0.tar.gz musl-642936d6dd22b99534cab4099deea8d6ceefeea0.tar.xz musl-642936d6dd22b99534cab4099deea8d6ceefeea0.zip |
Fix dn_comp prototype and add stub
This function is used by ping6 from iputils.
Diffstat (limited to 'src/network/dn_comp.c')
-rw-r--r-- | src/network/dn_comp.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/dn_comp.c b/src/network/dn_comp.c new file mode 100644 index 00000000..4f4452aa --- /dev/null +++ b/src/network/dn_comp.c @@ -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); |