diff --git a/lib/libc/resolv/Symbol.map b/lib/libc/resolv/Symbol.map index 068ce83e8a49..90d8137b2b01 100644 --- a/lib/libc/resolv/Symbol.map +++ b/lib/libc/resolv/Symbol.map @@ -29,6 +29,7 @@ FBSD_1.0 { __p_cert_syms; __p_class_syms; __p_key_syms; + __p_rcode_syms; __p_type_syms; __sym_ston; __sym_ntos; diff --git a/lib/libc/resolv/res_debug.c b/lib/libc/resolv/res_debug.c index a4787d9177b0..80b5b9410447 100644 --- a/lib/libc/resolv/res_debug.c +++ b/lib/libc/resolv/res_debug.c @@ -468,7 +468,7 @@ const struct res_sym __p_type_syms[] = { /* * Names of DNS rcodes. */ -static const struct res_sym __p_rcode_syms[] = { +const struct res_sym __p_rcode_syms[] = { {ns_r_noerror, "NOERROR", "no error"}, {ns_r_formerr, "FORMERR", "format error"}, {ns_r_servfail, "SERVFAIL", "server failed"},