diff options
Diffstat (limited to 'include/linux/posix-timers.h')
| -rw-r--r-- | include/linux/posix-timers.h | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h index 3e23844a699..b2c14cbd47a 100644 --- a/include/linux/posix-timers.h +++ b/include/linux/posix-timers.h @@ -69,7 +69,8 @@ struct k_itimer {  struct k_clock {  	int res;		/* in nanoseconds */  	int (*clock_getres) (const clockid_t which_clock, struct timespec *tp); -	int (*clock_set) (const clockid_t which_clock, struct timespec * tp); +	int (*clock_set) (const clockid_t which_clock, +			  const struct timespec *tp);  	int (*clock_get) (const clockid_t which_clock, struct timespec * tp);  	int (*timer_create) (struct k_itimer *timer);  	int (*nsleep) (const clockid_t which_clock, int flags, @@ -89,7 +90,7 @@ void register_posix_clock(const clockid_t clock_id, struct k_clock *new_clock);  /* error handlers for timer_create, nanosleep and settime */  int do_posix_clock_nonanosleep(const clockid_t, int flags, struct timespec *,  			       struct timespec __user *); -int do_posix_clock_nosettime(const clockid_t, struct timespec *tp); +int do_posix_clock_nosettime(const clockid_t, const struct timespec *tp);  /* function to call to trigger timer event */  int posix_timer_event(struct k_itimer *timr, int si_private);  |