This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] y2038: fix: Add missing libc_hidden_def for __futimens64
- From: Lukasz Majewski <lukma at denx dot de>
- To: Joseph Myers <joseph at codesourcery dot com>, Paul Eggert <eggert at cs dot ucla dot edu>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: Alistair Francis <alistair23 at gmail dot com>, Alistair Francis <alistair dot francis at wdc dot com>, GNU C Library <libc-alpha at sourceware dot org>, Siddhesh Poyarekar <siddhesh at gotplt dot org>, Florian Weimer <fweimer at redhat dot com>, Florian Weimer <fw at deneb dot enyo dot de>, Zack Weinberg <zackw at panix dot com>, Carlos O'Donell <carlos at redhat dot com>, Andreas Schwab <schwab at suse dot de>, Lukasz Majewski <lukma at denx dot de>
- Date: Tue, 3 Mar 2020 14:19:39 +0100
- Subject: [PATCH] y2038: fix: Add missing libc_hidden_def for __futimens64
The libc_hidden_def () declaration for __futimens64 function was missing,
so it is added in this patch.
---
sysdeps/unix/sysv/linux/futimens.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysdeps/unix/sysv/linux/futimens.c b/sysdeps/unix/sysv/linux/futimens.c
index 3447c47105..2c698b4e85 100644
--- a/sysdeps/unix/sysv/linux/futimens.c
+++ b/sysdeps/unix/sysv/linux/futimens.c
@@ -38,6 +38,8 @@ __futimens64 (int fd, const struct __timespec64 tsp64[2])
}
#if __TIMESIZE != 64
+libc_hidden_def (__futimens64);
+
int
__futimens (int fd, const struct timespec tsp[2])
{
--
2.20.1