move clock_time_to_tick to time.c

This commit is contained in:
Meco Man
2021-02-12 20:36:17 +08:00
parent 40bb949cd5
commit 598aa86f75
4 changed files with 36 additions and 35 deletions

View File

@@ -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