about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--nss/nsswitch.c1
-rw-r--r--nss/nsswitch.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5819955411..43cf653f40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-26  Ulrich Drepper  <drepper@redhat.com>
+
+	* nss/nsswitch.c: Add libc_hidden_def for __nss_lookup_function.
+	* nss/nsswitch.h: Add libc_hidden_proto for __nss_lookup_function.
+
 2003-08-26  Steven Munroe  <sjmunroe@us.ibm.com>
 
 	* sysdeps/powerpc/powerpc64/elf/Makefile: New file.
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index 326687f68a..08b869854d 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -414,6 +414,7 @@ __nss_lookup_function (service_user *ni, const char *fct_name)
 
   return result;
 }
+libc_hidden_def (__nss_lookup_function)
 
 
 static name_database *
diff --git a/nss/nsswitch.h b/nss/nsswitch.h
index 14dcf977a7..c419708d1d 100644
--- a/nss/nsswitch.h
+++ b/nss/nsswitch.h
@@ -131,6 +131,7 @@ libc_hidden_proto (__nss_next)
 /* Search for the service described in NI for a function named FCT_NAME
    and return a pointer to this function if successful.  */
 extern void *__nss_lookup_function (service_user *ni, const char *fct_name);
+libc_hidden_proto (__nss_lookup_function)
 
 
 /* Called by NSCD to disable recursive calls.  */