summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/posix/src/timercreate.c4
-rw-r--r--cpukit/posix/src/timersettime.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/posix/src/timercreate.c b/cpukit/posix/src/timercreate.c
index 3af7fc4459..46258a460f 100644
--- a/cpukit/posix/src/timercreate.c
+++ b/cpukit/posix/src/timercreate.c
@@ -34,8 +34,8 @@
int timer_create(
clockid_t clock_id,
- struct sigevent *evp,
- timer_t *timerid
+ struct sigevent *__restrict evp,
+ timer_t *__restrict timerid
)
{
POSIX_Timer_Control *ptimer;
diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c
index c9040a912c..3c37e7bea3 100644
--- a/cpukit/posix/src/timersettime.c
+++ b/cpukit/posix/src/timersettime.c
@@ -33,8 +33,8 @@
int timer_settime(
timer_t timerid,
int flags,
- const struct itimerspec *value,
- struct itimerspec *ovalue
+ const struct itimerspec *__restrict value,
+ struct itimerspec *__restrict ovalue
)
{
POSIX_Timer_Control *ptimer;