mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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>
This commit is contained in:
committed by
Adhemerval Zanella
parent
4a39c34c4f
commit
12cbde1dae
@ -61,7 +61,6 @@ setfsgid EXTRA setfsgid i:i setfsgid
|
||||
setfsuid EXTRA setfsuid i:i setfsuid
|
||||
setpgid - setpgid i:ii __setpgid setpgid
|
||||
sigaltstack - sigaltstack i:PP __sigaltstack sigaltstack
|
||||
stime - stime i:p stime
|
||||
sysinfo EXTRA sysinfo i:p __sysinfo sysinfo
|
||||
swapon - swapon i:si __swapon swapon
|
||||
swapoff - swapoff i:s __swapoff swapoff
|
||||
|
Reference in New Issue
Block a user