y2038: fix: Add missing libc_hidden_def for __futimens64

Message ID 20200303131939.25751-1-lukma@denx.de
State New
Headers show
Series
  • y2038: fix: Add missing libc_hidden_def for __futimens64
Related show

Commit Message

Lukasz Majewski March 3, 2020, 1:19 p.m.
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(+)

-- 
2.20.1

Comments

Andreas Schwab March 3, 2020, 2:57 p.m. | #1
Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Patch

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])
 {