From 4dda74fb309b16fc83b9d05a9a8696f6510f107c Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Sat, 15 Feb 2020 16:42:00 +0100 Subject: [PATCH] FIX: wait4: Conversion to 64 bit time support Signed-off-by: Lukasz Majewski --- sysdeps/unix/sysv/linux/wait4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/wait4.c b/sysdeps/unix/sysv/linux/wait4.c index f4df1c3b99..99254a76bc 100644 --- a/sysdeps/unix/sysv/linux/wait4.c +++ b/sysdeps/unix/sysv/linux/wait4.c @@ -107,9 +107,10 @@ __wait4_time64 (pid_t pid, int *stat_loc, int options, struct __rusage64 *usage) # error "The kernel ABI does not provide a way to implement wait4" #endif } -libc_hidden_def (__wait4_time64) #if __TIMESIZE != 64 +libc_hidden_def (__wait4_time64) + pid_t __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage) { @@ -125,6 +126,6 @@ __wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage) return ret; } -libc_hidden_def (__wait4); #endif +libc_hidden_def (__wait4) weak_alias (__wait4, wait4) -- 2.20.1