summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-24 20:24:30 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-24 20:24:30 +0000
commit1d5cee233d407b0abca1c64b2de712619c26ede4 (patch)
treeec136ea8137b31041621383f29b9991c80fce4dd
parent89c235754c8986b6394a969e92f75ba63ecbbf7c (diff)
downloadglibc-1d5cee233d407b0abca1c64b2de712619c26ede4.tar.gz
glibc-1d5cee233d407b0abca1c64b2de712619c26ede4.tar.xz
glibc-1d5cee233d407b0abca1c64b2de712619c26ede4.zip
Define hidden attribute macros for libnsl.
-rw-r--r--include/libc-symbols.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index e72f09f490..fe668119cd 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -798,6 +798,24 @@ for linking")
 # define libnss_files_hidden_data_ver(local, name)
 #endif
 
+#if defined NOT_IN_libc && defined IS_IN_libnsl
+# define libnsl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
+# define libnsl_hidden_def(name) hidden_def (name)
+# define libnsl_hidden_weak(name) hidden_weak (name)
+# define libnsl_hidden_ver(local, name) hidden_ver (local, name)
+# define libnsl_hidden_data_def(name) hidden_data_def (name)
+# define libnsl_hidden_data_weak(name) hidden_data_weak (name)
+# define libnsl_hidden_data_ver(local, name) hidden_data_ver (local, name)
+#else
+# define libnsl_hidden_proto(name, attrs...)
+# define libnsl_hidden_def(name)
+# define libnsl_hidden_weak(name)
+# define libnsl_hidden_ver(local, name)
+# define libnsl_hidden_data_def(name)
+# define libnsl_hidden_data_weak(name)
+# define libnsl_hidden_data_ver(local, name)
+#endif
+
 #ifdef HAVE_BUILTIN_REDIRECTION
 # define libc_hidden_builtin_proto(name, attrs...) libc_hidden_proto (name, ##attrs)
 # define libc_hidden_builtin_def(name) libc_hidden_def (name)