1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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>
This commit is contained in:
Lukasz Majewski
2020-01-28 14:26:40 +01:00
parent cde52c2557
commit ebc2368121
4 changed files with 9 additions and 9 deletions

View File

@ -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;
}