about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/osf_gettimeofday.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_gettimeofday.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_gettimeofday.c')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/osf_gettimeofday.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/osf_gettimeofday.c b/sysdeps/unix/sysv/linux/alpha/osf_gettimeofday.c
index df7f06765b..9ffda2fde3 100644
--- a/sysdeps/unix/sysv/linux/alpha/osf_gettimeofday.c
+++ b/sysdeps/unix/sysv/linux/alpha/osf_gettimeofday.c
@@ -23,7 +23,7 @@
 #include <string.h>
 #include <time.h>
 #include <sys/time.h>
-#include <tv32-compat.h>
+#include <alpha-tv32-compat.h>
 
 /* Get the current time of day and timezone information putting it
    into *TV and *TZ.  */
@@ -38,7 +38,7 @@ __gettimeofday_tv32 (struct timeval32 *restrict tv32, void *restrict tz)
   struct timespec ts;
   __clock_gettime (CLOCK_REALTIME, &ts);
 
-  *tv32 = valid_timespec_to_timeval32 (ts);
+  *tv32 = alpha_valid_timespec_to_timeval32 (ts);
   return 0;
 }