__p_rcode_syms is declared as external in resolv.conf, so it cannot be
redeclared as static in res_debug.c. Make __p_rcode_syms global and add it to Symbol map. The rest of __p_??_syms are already global. Choice of FBSD_1.0 version for these debug symbols seems strange and should be revisited before symbol versioning is enabled for libc.so.7.
This commit is contained in:
parent
bbfc500036
commit
dd704902af
@ -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;
|
||||
|
@ -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"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user