diff mbox series

Add missing libc_hidden_def for __utimensat64

Message ID mvmh7z6db8v.fsf@suse.de
State New
Headers show
Series Add missing libc_hidden_def for __utimensat64 | expand

Commit Message

Andreas Schwab March 2, 2020, 3:31 p.m. UTC
---
 sysdeps/unix/sysv/linux/utimensat.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Lukasz Majewski March 2, 2020, 3:49 p.m. UTC | #1
Hi Andreas,

> ---
>  sysdeps/unix/sysv/linux/utimensat.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sysdeps/unix/sysv/linux/utimensat.c
> b/sysdeps/unix/sysv/linux/utimensat.c index e4cf089b1d..eb16f0f3d5
> 100644 --- a/sysdeps/unix/sysv/linux/utimensat.c
> +++ b/sysdeps/unix/sysv/linux/utimensat.c
> @@ -76,6 +76,8 @@ __utimensat64 (int fd, const char *file, const
> struct __timespec64 tsp64[2], }
>  
>  #if __TIMESIZE != 64
> +libc_hidden_def (__utimensat64)
> +
>  int
>  __utimensat (int fd, const char *file, const struct timespec tsp[2],
>               int flags)

Thanks for spotting this issue and providing a fix.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/utimensat.c b/sysdeps/unix/sysv/linux/utimensat.c
index e4cf089b1d..eb16f0f3d5 100644
--- a/sysdeps/unix/sysv/linux/utimensat.c
+++ b/sysdeps/unix/sysv/linux/utimensat.c
@@ -76,6 +76,8 @@  __utimensat64 (int fd, const char *file, const struct __timespec64 tsp64[2],
 }
 
 #if __TIMESIZE != 64
+libc_hidden_def (__utimensat64)
+
 int
 __utimensat (int fd, const char *file, const struct timespec tsp[2],
              int flags)