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

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>
This commit is contained in:
Alistair Francis
2020-01-20 23:54:35 -08:00
parent e8a0f5831e
commit 4da2597af5
9 changed files with 32 additions and 32 deletions

View File

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