Use clock_settime to implement stime; withdraw stime.
commit12cbde1dae6fa4a9a792b64564c7e0debf7544cc
authorZack Weinberg <zackw@panix.com>
Fri, 16 Aug 2019 19:03:16 +0000 (16 15:03 -0400)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 30 Oct 2019 20:05:14 +0000 (30 17:05 -0300)
treefac04463cae1c6384358e3823d80e3ed051f72b1
parent4a39c34c4f85de57fb4e648cfa1e774437d69680
Use clock_settime to implement stime; withdraw stime.

Unconditionally, on all ports, use clock_settime to implement stime,
not settimeofday or a direct syscall.  Then convert stime into a
compatibility symbol and remove its prototype from time.h.

Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
powerpc64-linux-gnu, powerpc-linux-gnu, and aarch64-linux-gnu.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
NEWS
sysdeps/unix/stime.c [deleted file]
sysdeps/unix/sysv/linux/syscalls.list
time/stime.c
time/time.h