nuttx-apps/netutils/thttpd
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
..
cgi-src netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 15:56:35 +01:00
CMakeLists.txt netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
config.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
fdwatch.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
fdwatch.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
Kconfig netutils/thttpd-fix-broken-CGI-and-fixup-Kconfig 2025-07-03 10:42:11 +08:00
libhttpd.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
libhttpd.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
Make.defs netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
Makefile netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
mime_types.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
tdate_parse.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
tdate_parse.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
thttpd.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
thttpd_alloc.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
thttpd_alloc.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
thttpd_cgi.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
thttpd_cgi.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
thttpd_strings.c netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
thttpd_strings.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00
timers.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
timers.h netutils: migrate the license to ASF 2024-12-21 13:53:10 +08:00