diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-12-18 08:09:25 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-12-18 08:09:25 -0800 |
commit | 9e5335ed874515b33aa296c1cd8e7a8b640472c9 (patch) | |
tree | 4808a5b0d0ee98d7ca6d631628dcde0b23a83a38 /libpthread | |
parent | f3a594f390abe7d4a3f1b544424b31613d559c88 (diff) |
sem_open.c/sem_unlink.c: Use INTUSE macro to get proper function call to __pthread_once
We need to use __pthread_once_internal if available this macro is
therefore used to notify that.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/nptl/sem_open.c | 2 | ||||
-rw-r--r-- | libpthread/nptl/sem_unlink.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sem_open.c b/libpthread/nptl/sem_open.c index 28dd3aa90..71bebb00a 100644 --- a/libpthread/nptl/sem_open.c +++ b/libpthread/nptl/sem_open.c @@ -248,7 +248,7 @@ sem_open (const char *name, int oflag, ...) int fd; /* Determine where the shmfs is mounted. */ - __pthread_once (&__namedsem_once, __where_is_shmfs); + INTUSE(__pthread_once) (&__namedsem_once, __where_is_shmfs); /* If we don't know the mount points there is nothing we can do. Ever. */ if (mountpoint.dir == NULL) diff --git a/libpthread/nptl/sem_unlink.c b/libpthread/nptl/sem_unlink.c index beed02ee5..f3e7f1a70 100644 --- a/libpthread/nptl/sem_unlink.c +++ b/libpthread/nptl/sem_unlink.c @@ -33,7 +33,7 @@ sem_unlink ( size_t namelen; /* Determine where the shmfs is mounted. */ - __pthread_once (&__namedsem_once, __where_is_shmfs); + INTUSE(__pthread_once) (&__namedsem_once, __where_is_shmfs); /* If we don't know the mount points there is nothing we can do. Ever. */ if (mountpoint.dir == NULL) |