1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

__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:
Alexander Kabaev 2007-04-06 19:45:17 +00:00
parent 6e612eca81
commit 84830e00cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168441
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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"},