diff options
author | Neal H. Walfield <neal@gnu.org> | 2005-08-28 12:43:55 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2005-08-28 12:43:55 +0000 |
commit | 5bff6e8f998477a4528510e92fbcf33783c70506 (patch) | |
tree | 7c5dd4ce0bd319f9d3ef7945de1d51c05c914b9e | |
parent | 8e18e678afebb38e4208680ae7d7d23172116b41 (diff) |
2005-08-28 Neal H. Walfield <neal@gnu.org>
* include/semaphore.h: Use __restrict, not restrict.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/semaphore.h | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2005-08-28 Neal H. Walfield <neal@gnu.org> + + * include/semaphore.h: Use __restrict, not restrict. + 2005-05-31 Neal H. Walfield <neal@gnu.org> * include/pthread/pthread.h: If clockid_t is still not defined diff --git a/include/semaphore.h b/include/semaphore.h index 5775925..8acb768 100644 --- a/include/semaphore.h +++ b/include/semaphore.h @@ -36,7 +36,7 @@ extern int sem_init (sem_t *sem, int pshared, unsigned value); extern int sem_destroy (sem_t *sem); /* Store the value of semaphore *SEM in *VALUE. */ -extern int sem_getvalue (sem_t *restrict sem, int *restrict value); +extern int sem_getvalue (sem_t *__restrict sem, int *__restrict value); /* Perform a down operation on semaphore *SEM. */ extern int sem_wait (sem_t *sem); @@ -47,8 +47,8 @@ extern int sem_trywait (sem_t *sem); /* Perform a down operation on semaphore *SEM but don't wait longer than TIMEOUT. */ -extern int sem_timedwait (sem_t *restrict sem, - const struct timespec *restrict timeout); +extern int sem_timedwait (sem_t *__restrict sem, + const struct timespec *__restrict timeout); /* Perform an up operation on semaphore *SEM. */ extern int sem_post (sem_t *sem); |