[PATCH] y2038: fix: Add missing libc_hidden_def for __futimens64

Lukasz Majewski lukma@denx.de
Tue Mar 3 13:20:00 GMT 2020


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



More information about the Libc-alpha mailing list