diff --git a/include/posix/semaphore.h b/include/posix/semaphore.h index f19c741a1b7..e4f5f8ce665 100644 --- a/include/posix/semaphore.h +++ b/include/posix/semaphore.h @@ -14,10 +14,10 @@ extern "C" { #endif int sem_destroy(sem_t *semaphore); -int sem_getvalue(sem_t *restrict semaphore, int *restrict value); +int sem_getvalue(sem_t *ZRESTRICT semaphore, int *ZRESTRICT value); int sem_init(sem_t *semaphore, int pshared, unsigned int value); int sem_post(sem_t *semaphore); -int sem_timedwait(sem_t *restrict semaphore, struct timespec *restrict abstime); +int sem_timedwait(sem_t *ZRESTRICT semaphore, struct timespec *ZRESTRICT abstime); int sem_trywait(sem_t *semaphore); int sem_wait(sem_t *semaphore);