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/ppoll.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/ppoll.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/ppoll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ppoll.c b/sysdeps/unix/sysv/linux/ppoll.c index 3fcd19efb4..4ffb23710e 100644 --- a/sysdeps/unix/sysv/linux/ppoll.c +++ b/sysdeps/unix/sysv/linux/ppoll.c @@ -67,6 +67,8 @@ __ppoll64 (struct pollfd *fds, nfds_t nfds, const struct __timespec64 *timeout, } #if __TIMESIZE != 64 +libc_hidden_def (__ppoll64) + int __ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *sigmask) |