From 0370aa9988ef9f6b79e37f49fe97e44009dd26e0 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Fri, 7 Jul 2023 12:05:40 +0300 Subject: [PATCH] sched/clock: add missing FAR Signed-off-by: Petro Karashchenko --- sched/clock/clock.h | 3 ++- sched/clock/clock_initialize.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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. */