about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-12 13:17:21 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-12 15:01:30 -0800
commite4f639e4a106d90c6f3159230788653fd6e40a26 (patch)
tree0273305e960bcb5f46e3debc523eecc312e1bba8 /sysdeps/unix
parentc76d1ff5149bd03210f2bb8cd64446c51618d016 (diff)
downloadglibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar.gz
glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.tar.xz
glibc-e4f639e4a106d90c6f3159230788653fd6e40a26.zip
NPTL: Refactor named semaphore code to use shm-directory.h
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/shm-directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/shm-directory.c b/sysdeps/unix/sysv/linux/shm-directory.c
index 9340f9c331..24b6c53296 100644
--- a/sysdeps/unix/sysv/linux/shm-directory.c
+++ b/sysdeps/unix/sysv/linux/shm-directory.c
@@ -133,6 +133,9 @@ __shm_directory (size_t *len)
   *len = mountpoint.dirlen;
   return mountpoint.dir;
 }
+#if IS_IN (libpthread)
+hidden_def (__shm_directory)
+#endif
 
 
 /* Make sure the table is freed if we want to free everything before