sched/clock: add missing FAR

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-07-07 12:05:40 +03:00 committed by Alan Carvalho de Assis
parent b8d3e32bdf
commit 0370aa9988
2 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,8 @@ void clock_timer(void);
#ifdef CONFIG_CLOCK_ADJTIME #ifdef CONFIG_CLOCK_ADJTIME
void clock_set_adjust(long long adj_usec, long long adj_count, void clock_set_adjust(long long adj_usec, long long adj_count,
long long *adj_usec_old, long long *adj_count_old); FAR long long *adj_usec_old,
FAR long long *adj_count_old);
#endif #endif
int clock_abstime2ticks(clockid_t clockid, int clock_abstime2ticks(clockid_t clockid,

View File

@ -429,7 +429,8 @@ skip:
#ifdef CONFIG_CLOCK_ADJTIME #ifdef CONFIG_CLOCK_ADJTIME
void clock_set_adjust(long long adj_usec, long long adj_count, void clock_set_adjust(long long adj_usec, long long adj_count,
long long *adj_usec_old, long long *adj_count_old) FAR long long *adj_usec_old,
FAR long long *adj_count_old)
{ {
/* Get old adjust values. */ /* Get old adjust values. */