zephyr/tests
Tom Hughes 424b255dd7 test: posix: timers: Fix unused function warning
Building with clang warns:

tests/posix/timers/src/clock.c:37:20: error: unused function 'tv_to_ts'
[-Werror,-Wunused-function]
static inline void tv_to_ts(const struct timeval *tv, struct timespec *ts)
                   ^
tests/posix/timers/src/clock.c:51:16: error: unused function 'tp_eq'
[-Werror,-Wunused-function]
_decl_op(bool, tp_eq, ==);     /* a == b */
               ^
tests/posix/timers/src/clock.c:52:16: error: unused function 'tp_lt'
[-Werror,-Wunused-function]
_decl_op(bool, tp_lt, <);      /* a < b */
               ^
tests/posix/timers/src/clock.c:53:16: error: unused function 'tp_gt'
[-Werror,-Wunused-function]
_decl_op(bool, tp_gt, >);      /* a > b */
               ^
tests/posix/timers/src/clock.c:54:16: error: unused function 'tp_le'
[-Werror,-Wunused-function]
_decl_op(bool, tp_le, <=);     /* a <= b */

tests/posix/timers/src/clock.c:59:20: error: unused function
'tp_diff_in_range_ns' [-Werror,-Wunused-function]
static inline bool tp_diff_in_range_ns(const struct timespec *a,
                   ^                   const struct timespec *b,

tests/posix/timers/src/clock.c:49:20: error: unused function
'tp_diff_in_range_ns' [-Werror,-Wunused-function]
static inline bool tp_diff_in_range_ns(const struct timespec *a,
                   ^                   const struct timespec *b,

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2025-03-24 07:53:10 +01:00
..
application_development scripts: code_relocate: support section filter 2025-02-14 03:02:56 +01:00
arch tests: drivers: add overlay/testcase for silabs xg29_rb4412a board 2025-03-20 17:14:35 +01:00
benchmarks tests: thread_metric: Fix cooperative for SMP 2025-03-17 07:05:36 +01:00
bluetooth Bluetooth: tester: Fix name of btp_ascs_ase_found_ev 2025-03-23 13:19:51 +01:00
boards boards: espressif: esp32c6: Add LP Core board support 2025-03-21 17:05:20 +01:00
boot tests: boot: test_mcuboot: Add swap using offset test 2025-02-10 19:05:25 +01:00
bsim tests/bsim/run_parallel: Fail if an explicitly listed test is missing 2025-03-20 17:15:27 +01:00
cmake dts: zephyr,native-posix-cpu changed to zephyr,native-sim-cpu 2025-03-12 02:27:36 +01:00
crypto mbedtls: add Kconfig to select the number of key slot in PSA Crypto core 2024-11-26 00:12:56 +01:00
ctest/base tests: Add CTest base harness testing 2025-01-10 04:12:42 +01:00
drivers tests: drivers: mfd: add maxq10xx device 2025-03-23 13:18:44 +01:00
integration/kernel
kconfig
kernel scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
lib tests: lib: cmsis_dsp: Fix -Wsometimes-uninitialized warning 2025-03-23 13:19:27 +01:00
misc tests: linker: iterable_sections: Test sorting with 5 numeric characters 2025-01-22 10:40:45 +01:00
modules tests: modules: nanopb: Test on Big Endian platform 2024-12-19 15:20:11 +01:00
net scripts: make sure we do not install vulunerable python packages 2025-03-22 14:03:56 -04:00
posix test: posix: timers: Fix unused function warning 2025-03-24 07:53:10 +01:00
robot
subsys tests: pm: Enable standby power mode support on NXP RW612 Boards 2025-03-21 09:51:38 +01:00
unit everywhere: Use correct macro for gcc-specific warnings 2025-03-20 21:57:47 +01:00
ztest Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
test_config_ci.yaml twister: config: test on integration plaforms if defined 2025-03-19 08:51:50 -04:00
test_config.yaml