aboutsummaryrefslogtreecommitdiff
path: root/resolv/ns_netint.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-18 05:10:37 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-18 05:10:37 +0000
commit6f9d8e68f6b1210af0a42c576687ad2fe7142100 (patch)
treeb68ecd7d113f855fa664d605d393b7fcd1a7b2ba /resolv/ns_netint.c
parentb11816b2ae94adaf8417a8841eea4bf2edc96811 (diff)
downloadglibc-6f9d8e68f6b1210af0a42c576687ad2fe7142100.zip
glibc-6f9d8e68f6b1210af0a42c576687ad2fe7142100.tar.gz
glibc-6f9d8e68f6b1210af0a42c576687ad2fe7142100.tar.bz2
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/ns_netint.c')
-rw-r--r--resolv/ns_netint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/ns_netint.c b/resolv/ns_netint.c
index ff24128..20ecf62 100644
--- a/resolv/ns_netint.c
+++ b/resolv/ns_netint.c
@@ -22,6 +22,7 @@ static const char rcsid[] = "$BINDId: ns_netint.c,v 8.4 1999/10/13 16:39:35 vixi
/* Import. */
#include <arpa/nameser.h>
+#include <resolv.h>
/* Public. */
@@ -32,6 +33,7 @@ ns_get16(const u_char *src) {
NS_GET16(dst, src);
return (dst);
}
+libresolv_hidden_def (ns_get16)
u_long
ns_get32(const u_char *src) {
@@ -40,6 +42,7 @@ ns_get32(const u_char *src) {
NS_GET32(dst, src);
return (dst);
}
+libresolv_hidden_def (ns_get32)
void
ns_put16(u_int src, u_char *dst) {