diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-18 05:10:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-18 05:10:37 +0000 |
commit | 6f9d8e68f6b1210af0a42c576687ad2fe7142100 (patch) | |
tree | b68ecd7d113f855fa664d605d393b7fcd1a7b2ba /resolv/res_data.c | |
parent | b11816b2ae94adaf8417a8841eea4bf2edc96811 (diff) | |
download | glibc-6f9d8e68f6b1210af0a42c576687ad2fe7142100.tar.gz |
Update.
2004-10-17 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define libresolv_hidden_proto and friends.
* include/resolv.h: Add libresolv_hidden_proto for symbols defined,
used, and exported in libresolv.
* resolv/base64.c: Add libresolv_hidden_def.
* resolv/gethnamaddr.c: Likewise.
* resolv/ns_name.c: Likewise.
* resolv/ns_netint.c: Likewise.
* resolv/res_comp.c: Likewise.
* resolv/res_data.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_send.c: Likewise.
Diffstat (limited to 'resolv/res_data.c')
-rw-r--r-- | resolv/res_data.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/resolv/res_data.c b/resolv/res_data.c index 2183e022c8..438f815605 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[] = { +const char *_res_opcodes[] attribute_hidden = { "QUERY", "IQUERY", "CQUERYM", @@ -59,7 +59,7 @@ const char *_res_opcodes[] = { }; #ifdef BIND_UPDATE -const char *_res_sectioncodes[] = { +const char *_res_sectioncodes[] attribute_hidden = { "ZONE", "PREREQUISITES", "UPDATE", @@ -138,6 +138,7 @@ void fp_query(const u_char *msg, FILE *file) { fp_nquery(msg, PACKETSZ, file); } +libresolv_hidden_def (fp_query) void fp_nquery(const u_char *msg, int len, FILE *file) { @@ -146,6 +147,7 @@ fp_nquery(const u_char *msg, int len, FILE *file) { res_pquery(&_res, msg, len, file); } +libresolv_hidden_def (fp_nquery) int res_mkquery(int op, /* opcode of query */ @@ -295,6 +297,7 @@ hostalias(const char *name) { return (res_hostalias(&_res, name, abuf, sizeof abuf)); } +libresolv_hidden_def (hostalias) #ifdef ultrix int |