aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/alpha/osf_wait4.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-02-11 13:16:14 -0800
committerAlistair Francis <alistair.francis@wdc.com>2020-04-02 09:21:06 -0700
commit0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132 (patch)
tree84c04949834c1b2985b16d39f1642083ebb90fb7 /sysdeps/unix/sysv/linux/alpha/osf_wait4.c
parent600f00b747ff42eb0aa778536d3ef602e8bcd550 (diff)
downloadglibc-0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132.tar
glibc-0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132.tar.gz
glibc-0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132.tar.bz2
glibc-0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132.zip
sysv/alpha: Use generic __timeval32 and helpers
Now there is a generic __timeval32 and helpers we can use them for Alpha instead of the Alpha specific ones. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/osf_wait4.c')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/osf_wait4.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/osf_wait4.c b/sysdeps/unix/sysv/linux/alpha/osf_wait4.c
index c664e8e93f..4242d5227f 100644
--- a/sysdeps/unix/sysv/linux/alpha/osf_wait4.c
+++ b/sysdeps/unix/sysv/linux/alpha/osf_wait4.c
@@ -23,17 +23,17 @@
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/wait.h>
-#include <alpha-tv32-compat.h>
+#include <tv32-compat.h>
pid_t
attribute_compat_text_section
-__wait4_tv32 (pid_t pid, int *status, int options, struct rusage32 *usage32)
+__wait4_tv32 (pid_t pid, int *status, int options, struct __rusage32 *usage32)
{
- struct rusage usage64;
- pid_t child = __wait4 (pid, status, options, &usage64);
+ struct rusage usage;
+ pid_t child = __wait4 (pid, status, options, &usage);
if (child >= 0 && usage32 != NULL)
- alpha_rusage64_to_rusage32 (usage32, &usage64);
+ rusage64_to_rusage32 (&usage, usage32);
return child;
}