diff options
Diffstat (limited to 'newlib/libc/sys/linux/linuxthreads')
-rw-r--r-- | newlib/libc/sys/linux/linuxthreads/timer_create.c | 4 | ||||
-rw-r--r-- | newlib/libc/sys/linux/linuxthreads/timer_settime.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/sys/linux/linuxthreads/timer_create.c b/newlib/libc/sys/linux/linuxthreads/timer_create.c index 1dccd3036..5eff1fc37 100644 --- a/newlib/libc/sys/linux/linuxthreads/timer_create.c +++ b/newlib/libc/sys/linux/linuxthreads/timer_create.c @@ -30,8 +30,8 @@ int timer_create (clock_id, evp, timerid) clockid_t clock_id; - struct sigevent *evp; - timer_t *timerid; + struct sigevent *__restrict evp; + timer_t *__restrict timerid; { int retval = -1; struct timer_node *newtimer = NULL; diff --git a/newlib/libc/sys/linux/linuxthreads/timer_settime.c b/newlib/libc/sys/linux/linuxthreads/timer_settime.c index 2f187fd18..697640724 100644 --- a/newlib/libc/sys/linux/linuxthreads/timer_settime.c +++ b/newlib/libc/sys/linux/linuxthreads/timer_settime.c @@ -29,8 +29,8 @@ int timer_settime (timerid, flags, value, ovalue) timer_t timerid; int flags; - const struct itimerspec *value; - struct itimerspec *ovalue; + const struct itimerspec *__restrict value; + struct itimerspec *__restrict ovalue; { struct timer_node *timer; struct thread_node *thread = NULL; |