[PATCH v2 1/5] y2038: Export __clock_gettime64 to be usable in other libraries
Lukasz Majewski
lukma@denx.de
Thu Mar 26 08:06:37 GMT 2020
In the glibc project calls to clock_gettime shall be replaced with
__clock_gettime64, which is supporting 64 bit time.
To allow that the __clock_gettime64 needs to be exported as a GLIBC_PRIVATE
symbol.
---
time/Versions | 1 +
1 file changed, 1 insertion(+)
diff --git a/time/Versions b/time/Versions
index 8788e192ce..df22ac7f6a 100644
--- a/time/Versions
+++ b/time/Versions
@@ -77,5 +77,6 @@ libc {
GLIBC_PRIVATE {
# same as clock_gettime; used in other libraries
__clock_gettime;
+ __clock_gettime64;
}
}
--
2.20.1
More information about the Libc-alpha
mailing list