y2038: Define __suseconds64_t type to be used with struct __timeval64
authorLukasz Majewski <lukma@denx.de>
Sat, 25 Jan 2020 21:33:41 +0000 (22:33 +0100)
committerLukasz Majewski <lukma@denx.de>
Fri, 7 Feb 2020 16:55:07 +0000 (17:55 +0100)
commit3fced064f23562ec24f8312ffbc14950993969e6
treebf8a8e36dfd1ad3786a8a417dfa3b3bace626604
parent449db0fa3ef9d17951d94d7504db13b1891fa964
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>
bits/typesizes.h
posix/bits/types.h
sysdeps/mach/hurd/bits/typesizes.h
sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
sysdeps/unix/sysv/linux/generic/bits/typesizes.h
sysdeps/unix/sysv/linux/s390/bits/typesizes.h
sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
sysdeps/unix/sysv/linux/x86/bits/typesizes.h