]> sourceware.org Git - glibc.git/commit
y2038: alpha: Rename valid_timeval_to_timeval64 to valid_timeval32_to_timeval
authorLukasz Majewski <lukma@denx.de>
Fri, 17 Jan 2020 14:29:56 +0000 (15:29 +0100)
committerLukasz Majewski <lukma@denx.de>
Fri, 7 Feb 2020 16:55:08 +0000 (17:55 +0100)
commitcde52c2557177903806fed7dd216ff9b2280ceee
treee907608ceffb87dbe98d07f1cbfd77e36b4f4873
parent504c98717062cb9bcbd4b3e59e932d04331ddca5
y2038: alpha: Rename valid_timeval_to_timeval64 to valid_timeval32_to_timeval

Without this patch the naming convention for functions to convert
struct timeval32 to struct timeval (which supports 64 bit time on Alpha) was
a bit misleading. The name 'valid_timeval_to_timeval64' suggest conversion
of struct timeval to struct __timeval64 (as in ./include/time.h).

As on alpha the struct timeval supports 64 bit time it seems more readable
to emphasis struct timeval32 in the conversion function name.

Hence the helper function naming change to 'valid_timeval32_to_timeval'.

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>
sysdeps/unix/sysv/linux/alpha/osf_adjtime.c
sysdeps/unix/sysv/linux/alpha/osf_setitimer.c
sysdeps/unix/sysv/linux/alpha/osf_utimes.c
sysdeps/unix/sysv/linux/alpha/tv32-compat.h
This page took 0.039392 seconds and 5 git commands to generate.