about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/bits
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-01-25 22:33:41 +0100
committerLukasz Majewski <lukma@denx.de>2020-02-07 17:55:07 +0100
commit3fced064f23562ec24f8312ffbc14950993969e6 (patch)
treebf8a8e36dfd1ad3786a8a417dfa3b3bace626604 /sysdeps/unix/sysv/linux/alpha/bits
parent449db0fa3ef9d17951d94d7504db13b1891fa964 (diff)
downloadglibc-3fced064f23562ec24f8312ffbc14950993969e6.tar.gz
glibc-3fced064f23562ec24f8312ffbc14950993969e6.tar.xz
glibc-3fced064f23562ec24f8312ffbc14950993969e6.zip
y2038: Define __suseconds64_t type to be used with struct __timeval64
The __suseconds64_t type is supposed to be the 64 bit type across all
architectures.

It would be mostly used internally in the glibc - however, when passed to
Linux kernel (very unlikely), if necessary, it shall be converted to 32
bit type (i.e. __suseconds_t)

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>
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/bits')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/typesizes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h b/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
index 30356ba6d6..28ee3e5920 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
@@ -49,6 +49,7 @@
 #define __TIME_T_TYPE		__SLONGWORD_TYPE
 #define __USECONDS_T_TYPE	__U32_TYPE
 #define __SUSECONDS_T_TYPE	__S64_TYPE
+#define __SUSECONDS64_T_TYPE	__S64_TYPE
 #define __DADDR_T_TYPE		__S32_TYPE
 #define __KEY_T_TYPE		__S32_TYPE
 #define __CLOCKID_T_TYPE	__S32_TYPE