nuttx/sched/clock
chao.an e5b3d52486 clock/settime: minor fix compile warning
clock/clock_settime.c: In function ‘clock_settime’:
clock/clock_settime.c:120:45: warning: passing argument 1 of ‘clock_timekeeping_set_wall_time’
                              discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  120 |       ret = clock_timekeeping_set_wall_time(tp);
      |                                             ^~
In file included from clock/clock_settime.c:37:
sched/clock/clock_timekeeping.h:40:58: note: expected ‘struct timespec *’
                                       but argument is of type ‘const struct timespec *’
   40 | int clock_timekeeping_set_wall_time(FAR struct timespec *ts);
      |

Signed-off-by: chao.an <anchao@xiaomi.com>
2022-07-10 20:44:21 +03:00
..
clock_abstime2ticks.c sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
clock_dow.c Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
clock_getres.c sched/clock: Remove CLOCK_MONOTONIC option from Kconfig 2022-02-23 01:21:26 +08:00
clock_gettime.c sched/clock: Remove CLOCK_MONOTONIC option from Kconfig 2022-02-23 01:21:26 +08:00
clock_initialize.c clock: update clock_synchronize() to support with time 2022-01-18 22:48:15 +08:00
clock_settime.c sched/clock: add nsec range check in clock_settime 2021-07-09 14:19:03 -03:00
clock_systime_ticks.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock_systime_timespec.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
clock_timekeeping.c clock/settime: minor fix compile warning 2022-07-10 20:44:21 +03:00
clock_timekeeping.h clock/settime: minor fix compile warning 2022-07-10 20:44:21 +03:00
clock.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock.h Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
Make.defs Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00