summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-07 20:03:32 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:30 -0400
commit432f9f0e315a7df8e0c5dc820f0f77279b908bb1 (patch)
tree74f7cca77cd533fca1ee53f0c5a0e649942b6f57 /src/network
parent405102dc5034967f228e8a0a2f25a142caa55400 (diff)
downloadmusl-432f9f0e315a7df8e0c5dc820f0f77279b908bb1.tar.gz
move __res_msend_rc declaration to lookup.h
unlike the other res/dn functions, this one is tied to struct resolvconf which is not a public interface, so put it in the private header for its subsystem.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/lookup.h1
-rw-r--r--src/network/lookup_name.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/network/lookup.h b/src/network/lookup.h
index 329aaa77..4c01b618 100644
--- a/src/network/lookup.h
+++ b/src/network/lookup.h
@@ -35,6 +35,7 @@ int __lookup_name(struct address buf[static MAXADDRS], char canon[static 256], c
int __lookup_ipliteral(struct address buf[static 1], const char *name, int family);
int __get_resolv_conf(struct resolvconf *, char *, size_t);
+int __res_msend_rc(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int, const struct resolvconf *);
int __dns_parse(const unsigned char *, int, int (*)(void *, int, const void *, int, const void *), void *);
diff --git a/src/network/lookup_name.c b/src/network/lookup_name.c
index 71c396a8..5a096ac0 100644
--- a/src/network/lookup_name.c
+++ b/src/network/lookup_name.c
@@ -100,7 +100,6 @@ struct dpc_ctx {
int __dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int);
int __res_mkquery(int, const char *, int, int, const unsigned char *, int, const unsigned char*, unsigned char *, int);
-int __res_msend_rc(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int, const struct resolvconf *);
#define RR_A 1
#define RR_CNAME 5