about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/nsswitch.c1
-rw-r--r--nss/nsswitch.h1
2 files changed, 2 insertions, 0 deletions
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.  */