diff options
author | Lukasz Majewski <lukma@denx.de> | 2020-03-15 00:18:36 +0100 |
---|---|---|
committer | Lukasz Majewski <lukma@denx.de> | 2020-03-23 21:21:28 +0100 |
commit | 03343699496edd866141a8bbdfeb19ae98537394 (patch) | |
tree | 1aa39e20c0f8901778f100cf575577c0747681a0 /sysdeps/unix/sysv/linux/clock_settime.c | |
parent | b8de7980c06d97f36cdf4fe0871be7ec8ca58073 (diff) | |
download | glibc-03343699496edd866141a8bbdfeb19ae98537394.tar.gz glibc-03343699496edd866141a8bbdfeb19ae98537394.tar.xz glibc-03343699496edd866141a8bbdfeb19ae98537394.zip |
y2038: fix: Add missing libc_hidden_def attribute for some syscall wrappers
During the conversion to support 64 bit time on some architectures with __WORDSIZE == 32 && __TIMESIZE != 64 the libc_hidden_def attribute for eligible functions was by mistake omitted. This patch fixes this issue and exports (and allows using) those functions when Y2038 support is enabled in glibc.
Diffstat (limited to 'sysdeps/unix/sysv/linux/clock_settime.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/clock_settime.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/clock_settime.c b/sysdeps/unix/sysv/linux/clock_settime.c index e704e1dbe7..ebda871f4c 100644 --- a/sysdeps/unix/sysv/linux/clock_settime.c +++ b/sysdeps/unix/sysv/linux/clock_settime.c @@ -55,6 +55,8 @@ __clock_settime64 (clockid_t clock_id, const struct __timespec64 *tp) } #if __TIMESIZE != 64 +libc_hidden_def (__clock_settime64) + int __clock_settime (clockid_t clock_id, const struct timespec *tp) { |