diff --git a/sched/clock/clock.h b/sched/clock/clock.h index f939e38080..0555ea2422 100644 --- a/sched/clock/clock.h +++ b/sched/clock/clock.h @@ -86,7 +86,8 @@ void clock_timer(void); #ifdef CONFIG_CLOCK_ADJTIME 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 int clock_abstime2ticks(clockid_t clockid, diff --git a/sched/clock/clock_initialize.c b/sched/clock/clock_initialize.c index 42d7eb3db6..accbbfd0ef 100644 --- a/sched/clock/clock_initialize.c +++ b/sched/clock/clock_initialize.c @@ -429,7 +429,8 @@ skip: #ifdef CONFIG_CLOCK_ADJTIME 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. */