about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-29 22:47:22 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-29 22:47:22 +0000
commit04c785b27fd35c740cc9b759b324adb8d6ab9747 (patch)
treec84164c98868640db1ad3d4540c2c7daf0f7489e
parent6fe62f537bf01399818996ff8c7fa818ef58c664 (diff)
downloadglibc-04c785b27fd35c740cc9b759b324adb8d6ab9747.tar.gz
glibc-04c785b27fd35c740cc9b759b324adb8d6ab9747.tar.xz
glibc-04c785b27fd35c740cc9b759b324adb8d6ab9747.zip
Update.
	* nscd/nscd.c: Define getaddrinfo hidden so that it is never found
	outside.
-rw-r--r--ChangeLog3
-rw-r--r--nscd/nscd.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1f1d967ccd..92715fd705 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-09-29  Ulrich Drepper  <drepper@redhat.com>
 
+	* nscd/nscd.c: Define getaddrinfo hidden so that it is never found
+	outside.
+
 	* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_segvflags):
 	Renamed from si_flags due to conflict with si_flags from <elf.h>.
 
diff --git a/nscd/nscd.c b/nscd/nscd.c
index 4586cf04c9..3fb5ad4691 100644
--- a/nscd/nscd.c
+++ b/nscd/nscd.c
@@ -488,6 +488,8 @@ write_pid (const char *file)
    into nscd.  There currently is no special getaddrinfo version for
    use in nscd.  In case it should be necessary such a version must be
    created and this dummy version should be removed.  */
+extern void getaddrinfo (void) __attribute ((visibility ("hidden")));
+
 void
 getaddrinfo (void)
 {