nuttx-apps/testing/testsuites/kernel/syscall/cases
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
..
accept_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
bind_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
chdir_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
clock_gettime_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
clock_nanosleep_test.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
clock_settime_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
close_test.c syscall: fix badfd test for fdcheck compatibility 2026-01-22 19:48:57 +08:00
connect_test.c testing: Fix cmocka_syscall_test crash when CONFIG_FDCHECK enable 2026-02-03 17:36:49 +08:00
creat_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dup2_test.c apps/testing: fix syscall cases for fdcheck compatibility 2026-01-22 19:48:57 +08:00
dup_test.c testing: Fix cmocka_syscall_test crash when CONFIG_FDCHECK enable 2026-02-03 17:36:49 +08:00
fcntl_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fpathconf_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Fstatfs_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fsync_test.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
ftruncate_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getcwd_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getegid_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
geteuid_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getgid_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
gethostname_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getitimer_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getpeername_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getpid_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getppid_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getsocketopt_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getTimeofday_test.c testing: getTimeofday_test: fix build warning 2025-12-10 12:17:44 +01:00
getuid_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
listen_test.c testing: Fix cmocka_syscall_test crash when CONFIG_FDCHECK enable 2026-02-03 17:36:49 +08:00
lseek_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
lstat_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
memcmp_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
memcpy_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
memset_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
mkdir_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nansleep_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pathconf_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pipe_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pread_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pwrite_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
read_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
readdir_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
recvfrom_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rmdir_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sched_test.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
setsocketopt01_test.c apps/testing: fix syscall cases for fdcheck compatibility 2026-01-22 19:48:57 +08:00
socket_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
socketpair_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
symlink_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
time_test.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
timer_create_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timer_delete_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timer_gettime_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
truncate_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
unlink_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
write_test.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00