mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update ntp_gettime for Linux.
The ntp_gettime implementation of NTP exports the tai field the kernel now produces. This requires an ABI change since the ntptimeval structure changed. Upstream kept the same name, there is nothing to do. This patch changes the ntptimeval structure but keeps the old ntp_gettime definition. A new ntp_gettimex function which is transparently invoked through the old name is introduced. This has the advantage that even object files can remain compatible. This wouldn't be the case if symbol versioning would be used to overload the name ntp_gettime.
This commit is contained in:
@ -144,6 +144,8 @@ libc {
|
||||
GLIBC_2.12 {
|
||||
#errlist-compat 134
|
||||
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
|
||||
|
||||
ntp_gettimex;
|
||||
}
|
||||
GLIBC_PRIVATE {
|
||||
# functions used in other libraries
|
||||
|
Reference in New Issue
Block a user