diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2006-02-27 22:08:16 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2006-02-27 22:08:16 +0000 |
commit | fc9ae54dca039ae0954eb3d33d09a6bb746a90e4 (patch) | |
tree | fdfb388ac0ce343027a99be467a1f57ff43e6ff7 | |
parent | a29370deb321212eeaa6d08c2a6c9dc1de580f42 (diff) |
Notes
-rw-r--r-- | lib/libc/net/res_comp.c | 8 | ||||
-rw-r--r-- | lib/libc/net/res_debug.c | 4 | ||||
-rw-r--r-- | lib/libc/net/res_send.c | 16 |
3 files changed, 6 insertions, 22 deletions
diff --git a/lib/libc/net/res_comp.c b/lib/libc/net/res_comp.c index 2e2248312b9b..0739188dc24f 100644 --- a/lib/libc/net/res_comp.c +++ b/lib/libc/net/res_comp.c @@ -246,10 +246,10 @@ res_dnok(dn) #ifdef BIND_4_COMPAT /* * This module must export the following externally-visible symbols: - * ___putlong - * ___putshort - * __getlong - * __getshort + * __putlong + * __putshort + * _getlong + * _getshort * Note that one _ comes from C and the others come from us. */ void __putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } diff --git a/lib/libc/net/res_debug.c b/lib/libc/net/res_debug.c index 3481419b5ab1..9a2944818f36 100644 --- a/lib/libc/net/res_debug.c +++ b/lib/libc/net/res_debug.c @@ -352,7 +352,7 @@ const struct res_sym __p_class_syms[] = { /* * Names of message sections. */ -const struct res_sym __p_default_section_syms[] = { +static const struct res_sym __p_default_section_syms[] = { {ns_s_qd, "QUERY"}, {ns_s_an, "ANSWER"}, {ns_s_ns, "AUTHORITY"}, @@ -360,7 +360,7 @@ const struct res_sym __p_default_section_syms[] = { {0, (char *)0} }; -const struct res_sym __p_update_section_syms[] = { +static const struct res_sym __p_update_section_syms[] = { {S_ZONE, "ZONE"}, {S_PREREQ, "PREREQUISITE"}, {S_UPDATE, "UPDATE"}, diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c index 1775eadf969c..acaf025c9eea 100644 --- a/lib/libc/net/res_send.c +++ b/lib/libc/net/res_send.c @@ -166,22 +166,6 @@ static void Perror(FILE *, char *, int); } #endif -void -res_send_setqhook(hook) - res_send_qhook hook; -{ - - Qhook = hook; -} - -void -res_send_setrhook(hook) - res_send_rhook hook; -{ - - Rhook = hook; -} - static struct sockaddr * get_nsaddr(size_t); /* |