summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_debug.c
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2006-02-27 22:08:16 +0000
committerdeischen <deischen@FreeBSD.org>2006-02-27 22:08:16 +0000
commit2a2559a103e853552bf162079b75f0af0f21e574 (patch)
treefdfb388ac0ce343027a99be467a1f57ff43e6ff7 /lib/libc/net/res_debug.c
parentcf459941f1e991341d0048c26be0e51d3d67a066 (diff)
downloadFreeBSD-src-2a2559a103e853552bf162079b75f0af0f21e574.zip
FreeBSD-src-2a2559a103e853552bf162079b75f0af0f21e574.tar.gz
Correct a comment.
Staticize two tables thare are not visible in <resolv.h> and which are also local in Solaris' libresolv. Remove two functions that are not referenced in libc nor anywhere else I can find, not visible in <resolv.h> and which are also local in Solaris libresolv.
Diffstat (limited to 'lib/libc/net/res_debug.c')
-rw-r--r--lib/libc/net/res_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/res_debug.c b/lib/libc/net/res_debug.c
index 3481419..9a29448 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"},
OpenPOWER on IntegriCloud