aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_data.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-27 21:33:40 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-27 21:33:40 +0000
commit32738a227007c089581a62621c673dceabd1c08d (patch)
tree25cc0ed7c3e521930ac8ef538b37b54e0903b2cc /resolv/res_data.c
parentb1f68750871f1d447fb7d36b24590084239730b5 (diff)
downloadglibc-32738a227007c089581a62621c673dceabd1c08d.tar
glibc-32738a227007c089581a62621c673dceabd1c08d.tar.gz
glibc-32738a227007c089581a62621c673dceabd1c08d.tar.bz2
glibc-32738a227007c089581a62621c673dceabd1c08d.zip
Update.
2004-10-27 Jakub Jelinek <jakub@redhat.com> * include/resolv.h (_res_opcodes): New extern. Add libresolv_hidden_proto. * resolv/res_debug.c (_res_opcodes): Remove. (__p_class_syms, __p_type_syms): Add libresolv_hidden_proto and libresolv_hidden_data_def. Remove attribute_hidden. * resolv/res_mkquery (_res_opcodes): Remove. * resolv/res_data.c (_res_opcodes): Remove attribute_hidden. Add libresolv_hidden_data_def. * elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO into an empty namespace.
Diffstat (limited to 'resolv/res_data.c')
-rw-r--r--resolv/res_data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c
index 438f815605..adadcdcd7a 100644
--- a/resolv/res_data.c
+++ b/resolv/res_data.c
@@ -39,7 +39,7 @@ static const char rcsid[] = "$BINDId: res_data.c,v 8.17 1999/10/13 17:11:31 vixi
#include <string.h>
#include <unistd.h>
-const char *_res_opcodes[] attribute_hidden = {
+const char *_res_opcodes[] = {
"QUERY",
"IQUERY",
"CQUERYM",
@@ -57,6 +57,7 @@ const char *_res_opcodes[] attribute_hidden = {
"ZONEINIT",
"ZONEREF",
};
+libresolv_hidden_data_def (_res_opcodes)
#ifdef BIND_UPDATE
const char *_res_sectioncodes[] attribute_hidden = {