diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-02-11 13:16:14 -0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-04-02 09:21:06 -0700 |
commit | 0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132 (patch) | |
tree | 84c04949834c1b2985b16d39f1642083ebb90fb7 /sysdeps/unix/sysv/linux/alpha/osf_utimes.c | |
parent | 600f00b747ff42eb0aa778536d3ef602e8bcd550 (diff) | |
download | glibc-0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132.tar.gz glibc-0bcd0c5100f5268b04b7b4dbbea63eb2c50e9132.tar.xz 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_utimes.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/osf_utimes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/osf_utimes.c b/sysdeps/unix/sysv/linux/alpha/osf_utimes.c index 8ad9fb567c..8afbf12185 100644 --- a/sysdeps/unix/sysv/linux/alpha/osf_utimes.c +++ b/sysdeps/unix/sysv/linux/alpha/osf_utimes.c @@ -20,16 +20,16 @@ #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) +#include <time.h> #include <sys/time.h> -#include <alpha-tv32-compat.h> int attribute_compat_text_section -__utimes_tv32 (const char *filename, const struct timeval32 times32[2]) +__utimes_tv32 (const char *filename, const struct __timeval32 times32[2]) { struct timeval times[2]; - times[0] = alpha_valid_timeval32_to_timeval (times32[0]); - times[1] = alpha_valid_timeval32_to_timeval (times32[1]); + times[0] = valid_timeval32_to_timeval (times32[0]); + times[1] = valid_timeval32_to_timeval (times32[1]); return __utimes (filename, times); } |