aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-01-28 14:26:40 +0100
committerLukasz Majewski <lukma@denx.de>2020-02-07 17:55:08 +0100
commitebc2368121bf1932e530ef126b5a0765953e77ad (patch)
tree9c9d0f19f540abb210fdfe6b5d1bc5841f19d4f6 /sysdeps/unix/sysv/linux/alpha/osf_setitimer.c
parentcde52c2557177903806fed7dd216ff9b2280ceee (diff)
downloadglibc-ebc2368121bf1932e530ef126b5a0765953e77ad.tar
glibc-ebc2368121bf1932e530ef126b5a0765953e77ad.tar.gz
glibc-ebc2368121bf1932e530ef126b5a0765953e77ad.tar.bz2
glibc-ebc2368121bf1932e530ef126b5a0765953e77ad.zip
y2038: alpha: Rename valid_timeval64_to_timeval to valid_timeval_to_timeval32
The name 'valid_timeval64_to_timeval' suggest conversion of struct __timeval64 to struct timeval (as in ./include/time.h). As on the alpha the struct timeval supports 64 bit time, it seems more feasible to emphasis struct timeval32 in the conversion function name. Hence the helper function naming change to 'valid_timeval_to_timeval32'. Build tests: ./src/scripts/build-many-glibcs.py glibcs Reviewed-by: Alistair Francis <alistair.francis@wdc.com> 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c b/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c
index 3935d1cfb5..7df2d1b71c 100644
--- a/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c
+++ b/sysdeps/unix/sysv/linux/alpha/osf_setitimer.c
@@ -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_timeval64_to_timeval (old_value_64.it_interval);
+ = valid_timeval_to_timeval32 (old_value_64.it_interval);
old_value->it_value
- = valid_timeval64_to_timeval (old_value_64.it_value);
+ = valid_timeval_to_timeval32 (old_value_64.it_value);
return 0;
}