diff options
| author | Meco Man <[email protected]> | 2021-02-12 20:36:17 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-12 20:36:17 +0800 |
| commit | 598aa86f750bdc96ffb427fc8507a426a99fc63f (patch) | |
| tree | 4f1e75f0587c23761a5d0dbae2956b636a13aae6 /components/libc/compilers/common/sys/time.h | |
| parent | 40bb949cd552ea4f71b138712680f8e08246f9d8 (diff) | |
move clock_time_to_tick to time.c
Diffstat (limited to 'components/libc/compilers/common/sys/time.h')
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index df5b4fae93..e4d60d2d11 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -86,6 +86,7 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz); int clock_getres (clockid_t clockid, struct timespec *res); int clock_gettime (clockid_t clockid, struct timespec *tp); int clock_settime (clockid_t clockid, const struct timespec *tp); +int clock_time_to_tick(const struct timespec *time); #endif /* RT_USING_POSIX */ #ifdef __cplusplus |
