diff options
Diffstat (limited to 'include/uapi/linux/time.h')
| -rw-r--r-- | include/uapi/linux/time.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/uapi/linux/time.h b/include/uapi/linux/time.h index 6b56a2208be7..b03f8717c312 100644 --- a/include/uapi/linux/time.h +++ b/include/uapi/linux/time.h | |||
| @@ -42,19 +42,15 @@ struct itimerval { | |||
| 42 | struct timeval it_value; /* current value */ | 42 | struct timeval it_value; /* current value */ |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
| 45 | #ifndef __kernel_timespec | ||
| 46 | struct __kernel_timespec { | 45 | struct __kernel_timespec { |
| 47 | __kernel_time64_t tv_sec; /* seconds */ | 46 | __kernel_time64_t tv_sec; /* seconds */ |
| 48 | long long tv_nsec; /* nanoseconds */ | 47 | long long tv_nsec; /* nanoseconds */ |
| 49 | }; | 48 | }; |
| 50 | #endif | ||
| 51 | 49 | ||
| 52 | #ifndef __kernel_itimerspec | ||
| 53 | struct __kernel_itimerspec { | 50 | struct __kernel_itimerspec { |
| 54 | struct __kernel_timespec it_interval; /* timer period */ | 51 | struct __kernel_timespec it_interval; /* timer period */ |
| 55 | struct __kernel_timespec it_value; /* timer expiration */ | 52 | struct __kernel_timespec it_value; /* timer expiration */ |
| 56 | }; | 53 | }; |
| 57 | #endif | ||
| 58 | 54 | ||
| 59 | /* | 55 | /* |
| 60 | * legacy timeval structure, only embedded in structures that | 56 | * legacy timeval structure, only embedded in structures that |
