diff options
Diffstat (limited to 'include/linux/time.h')
-rw-r--r-- | include/linux/time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index 38c5206c2673..7c44e7778033 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -145,8 +145,9 @@ static inline u32 arch_gettimeoffset(void) { return 0; } | |||
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | extern void do_gettimeofday(struct timeval *tv); | 147 | extern void do_gettimeofday(struct timeval *tv); |
148 | extern int do_settimeofday(struct timespec *tv); | 148 | extern int do_settimeofday(const struct timespec *tv); |
149 | extern int do_sys_settimeofday(struct timespec *tv, struct timezone *tz); | 149 | extern int do_sys_settimeofday(const struct timespec *tv, |
150 | const struct timezone *tz); | ||
150 | #define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) | 151 | #define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) |
151 | extern long do_utimes(int dfd, const char __user *filename, struct timespec *times, int flags); | 152 | extern long do_utimes(int dfd, const char __user *filename, struct timespec *times, int flags); |
152 | struct itimerval; | 153 | struct itimerval; |