POSIX timers: Add restrict keyword

+ timer_create()
+ timer_settime()
This commit is contained in:
Sahil Patnayakuni
2013-11-24 11:48:08 -06:00
committed by Joel Sherrill
parent 77b1de22cc
commit ad36dc2c36
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;