about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/osf_getitimer.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-01-20 23:54:35 -0800
committerAlistair Francis <alistair.francis@wdc.com>2020-03-27 11:23:15 -0700
commit4da2597af5cda0752c7526fe97398a5dafc15cbf (patch)
treec40281a447d2c2d697e04fc44f9966d09c4e0e08 /sysdeps/unix/sysv/linux/alpha/osf_getitimer.c
parente8a0f5831e8bf5810b6d726967ee9a7cad38bed6 (diff)
downloadglibc-4da2597af5cda0752c7526fe97398a5dafc15cbf.tar.gz
glibc-4da2597af5cda0752c7526fe97398a5dafc15cbf.tar.xz
glibc-4da2597af5cda0752c7526fe97398a5dafc15cbf.zip
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>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/osf_getitimer.c')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/osf_getitimer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/osf_getitimer.c b/sysdeps/unix/sysv/linux/alpha/osf_getitimer.c
index e9de2b287b..204d4ba796 100644
--- a/sysdeps/unix/sysv/linux/alpha/osf_getitimer.c
+++ b/sysdeps/unix/sysv/linux/alpha/osf_getitimer.c
@@ -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
@@ -33,9 +33,9 @@ __getitimer_tv32 (int which, struct itimerval32 *curr_value)
 
   /* Write all fields of 'curr_value' regardless of overflow.  */
   curr_value->it_interval
-    = valid_timeval_to_timeval32 (curr_value_64.it_interval);
+    = alpha_valid_timeval_to_timeval32 (curr_value_64.it_interval);
   curr_value->it_value
-    = valid_timeval_to_timeval32 (curr_value_64.it_value);
+    = alpha_valid_timeval_to_timeval32 (curr_value_64.it_value);
   return 0;
 }