diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-01-20 23:54:35 -0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-03-27 11:23:15 -0700 |
commit | 4da2597af5cda0752c7526fe97398a5dafc15cbf (patch) | |
tree | c40281a447d2c2d697e04fc44f9966d09c4e0e08 /sysdeps/unix/sysv/linux/alpha/osf_setitimer.c | |
parent | e8a0f5831e8bf5810b6d726967ee9a7cad38bed6 (diff) | |
download | glibc-4da2597af5cda0752c7526fe97398a5dafc15cbf.tar.gz glibc-4da2597af5cda0752c7526fe97398a5dafc15cbf.tar.xz glibc-4da2597af5cda0752c7526fe97398a5dafc15cbf.zip |
sysv/linux: Rename alpha functions to be alpha specific
These functions are alpha specifc, rename them to be clear. Let's also rename the header file from tv32-compat.h to alpha-tv32-compat.h. This is to avoid conflicts with the one we will introduce later. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/osf_setitimer.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/osf_setitimer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c b/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c index 7df2d1b71c..726dfc8b0e 100644 --- a/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c +++ b/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c @@ -21,7 +21,7 @@ #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) #include <sys/time.h> -#include <tv32-compat.h> +#include <alpha-tv32-compat.h> int attribute_compat_text_section @@ -30,9 +30,9 @@ __setitimer_tv32 (int which, const struct itimerval32 *restrict new_value, { struct itimerval new_value_64; new_value_64.it_interval - = valid_timeval32_to_timeval (new_value->it_interval); + = alpha_valid_timeval32_to_timeval (new_value->it_interval); new_value_64.it_value - = valid_timeval32_to_timeval (new_value->it_value); + = alpha_valid_timeval32_to_timeval (new_value->it_value); if (old_value == NULL) return __setitimer (which, &new_value_64, NULL); @@ -43,9 +43,9 @@ __setitimer_tv32 (int which, const struct itimerval32 *restrict new_value, /* Write all fields of 'old_value' regardless of overflow. */ old_value->it_interval - = valid_timeval_to_timeval32 (old_value_64.it_interval); + = alpha_valid_timeval_to_timeval32 (old_value_64.it_interval); old_value->it_value - = valid_timeval_to_timeval32 (old_value_64.it_value); + = alpha_valid_timeval_to_timeval32 (old_value_64.it_value); return 0; } |