diff options
Diffstat (limited to 'kernel/posix-timers.c')
-rw-r--r-- | kernel/posix-timers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c index 93bd2eb2bc53..21b7ca205f38 100644 --- a/kernel/posix-timers.c +++ b/kernel/posix-timers.c | |||
@@ -192,7 +192,7 @@ static int common_clock_get(clockid_t which_clock, struct timespec *tp) | |||
192 | } | 192 | } |
193 | 193 | ||
194 | static inline int common_clock_set(const clockid_t which_clock, | 194 | static inline int common_clock_set(const clockid_t which_clock, |
195 | struct timespec *tp) | 195 | const struct timespec *tp) |
196 | { | 196 | { |
197 | return do_sys_settimeofday(tp, NULL); | 197 | return do_sys_settimeofday(tp, NULL); |
198 | } | 198 | } |
@@ -928,7 +928,7 @@ void exit_itimers(struct signal_struct *sig) | |||
928 | } | 928 | } |
929 | 929 | ||
930 | /* Not available / possible... functions */ | 930 | /* Not available / possible... functions */ |
931 | int do_posix_clock_nosettime(const clockid_t clockid, struct timespec *tp) | 931 | int do_posix_clock_nosettime(const clockid_t clockid, const struct timespec *tp) |
932 | { | 932 | { |
933 | return -EINVAL; | 933 | return -EINVAL; |
934 | } | 934 | } |