nuttx-apps/testing/testsuites/kernel
Xiang Xiao a6477ec8dc !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts
Align with the upstream nuttx change that drops the sclock_t alias now
that clock_t is itself a signed 64-bit type (int64_t).  Beyond the pure
sclock_t -> clock_t rename, this commit also removes the
now-unnecessary (time_t)-1 / (time_t)0 / (off_t)-1 casts that were
papering over the previously-unsigned time_t.

Files touched:

  - examples/alarm/alarm_main.c:        sclock_t -> clock_t
  - netutils/dhcpd/dhcpd.c:             sclock_t -> clock_t
  - netutils/ftpd/ftpd.c:               sclock_t -> clock_t
  - netutils/thttpd/libhttpd.c,
    netutils/thttpd/tdate_parse.c:      drop (time_t)-1 / (time_t)0 /
                                        (off_t)-1 sentinel casts
  - system/resmonitor/filldisk.c,
    system/zmodem/zm_receive.c:         sclock_t -> clock_t
  - testing/ostest/wdog.c:              sclock_t -> clock_t (the bulk
                                        of the rename, 30 sites)
  - testing/testsuites/kernel/syscall/cases/{clock_nanosleep_test,
    fsync_test,time_test}.c:            drop (time_t)-1 casts in the
                                        new signed-time_t world

No behavioural change.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-05-11 17:38:32 +08:00
..
fs testing/fs:reduce the test time of fs test 2026-01-28 10:37:52 -03:00
mm Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
mutex Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
pthread Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
sched test/mutex: fix mutex testcases. 2026-01-22 19:53:39 +08:00
socket testing: fix net case bug 2026-01-22 19:48:57 +08:00
syscall !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
time testing/time: Relax the timing constraints. 2026-01-27 22:59:36 +08:00
CMakeLists.txt testing/testsuites: add cmake support 2025-12-23 09:12:02 -03:00