forked from Imagelibrary/rtems
POSIX timers: Add restrict keyword
+ timer_create() + timer_settime()
This commit is contained in:
committed by
Joel Sherrill
parent
77b1de22cc
commit
ad36dc2c36
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user