summaryrefslogtreecommitdiff
path: root/libpthread/nptl/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/semaphore.h')
-rw-r--r--libpthread/nptl/semaphore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/semaphore.h b/libpthread/nptl/semaphore.h
index c6f1cce1c..aa0f9294e 100644
--- a/libpthread/nptl/semaphore.h
+++ b/libpthread/nptl/semaphore.h
@@ -39,13 +39,13 @@ extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value)
extern int sem_destroy (sem_t *__sem) __THROW;
/* Open a named semaphore NAME with open flags OFLAG. */
-extern sem_t *sem_open (__const char *__name, int __oflag, ...) __THROW;
+extern sem_t *sem_open (const char *__name, int __oflag, ...) __THROW;
/* Close descriptor for named semaphore SEM. */
extern int sem_close (sem_t *__sem) __THROW;
/* Remove named semaphore NAME. */
-extern int sem_unlink (__const char *__name) __THROW;
+extern int sem_unlink (const char *__name) __THROW;
/* Wait for SEM being posted.
@@ -59,7 +59,7 @@ extern int sem_wait (sem_t *__sem);
This function is a cancellation point and therefore not marked with
__THROW. */
extern int sem_timedwait (sem_t *__restrict __sem,
- __const struct timespec *__restrict __abstime);
+ const struct timespec *__restrict __abstime);
#endif
/* Test whether SEM is posted. */