aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{