about summary refs log tree commit diff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-24 09:04:03 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-24 09:04:03 +0000
commit44843eeeddc1f770d71255c6c2462c533c44b4d5 (patch)
tree87ae225b26e59e202f073b7bc9956cca7e7b64b4 /include/libc-symbols.h
parent02d6ab9fc4696a101c8a6266605f0792ed6844f5 (diff)
downloadglibc-44843eeeddc1f770d71255c6c2462c533c44b4d5.tar.gz
glibc-44843eeeddc1f770d71255c6c2462c533c44b4d5.tar.xz
glibc-44843eeeddc1f770d71255c6c2462c533c44b4d5.zip
Define hidden attribute macros for libnss_files.
Diffstat (limited to 'include/libc-symbols.h')
-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 7dd0d2901b..e72f09f490 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -780,6 +780,24 @@ for linking")
 # define libdl_hidden_data_ver(local, name)
 #endif
 
+#if defined NOT_IN_libc && defined IS_IN_libnss_files
+# define libnss_files_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
+# define libnss_files_hidden_def(name) hidden_def (name)
+# define libnss_files_hidden_weak(name) hidden_weak (name)
+# define libnss_files_hidden_ver(local, name) hidden_ver (local, name)
+# define libnss_files_hidden_data_def(name) hidden_data_def (name)
+# define libnss_files_hidden_data_weak(name) hidden_data_weak (name)
+# define libnss_files_hidden_data_ver(local, name) hidden_data_ver(local, name)
+#else
+# define libnss_files_hidden_proto(name, attrs...)
+# define libnss_files_hidden_def(name)
+# define libnss_files_hidden_weak(name)
+# define libnss_files_hidden_ver(local, name)
+# define libnss_files_hidden_data_def(name)
+# define libnss_files_hidden_data_weak(name)
+# define libnss_files_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)