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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user