y2038: include: Move struct __timeval64 definition to a separate file
authorLukasz Majewski <lukma@denx.de>
Tue, 21 Apr 2020 17:01:56 +0000 (19:01 +0200)
committerLukasz Majewski <lukma@denx.de>
Tue, 5 May 2020 17:36:25 +0000 (19:36 +0200)
commita308615f7c067371df8bd96cb233cd0574537863
tree1a6ff4f4228596ad2da70f751c762f48c23cc5b7
parent481d01fa2b07d3c6f9e6ef9ae239bc616b1ac757
y2038: include: Move struct __timeval64 definition to a separate file

The struct __timeval64's definition has been moved from ./include/time.h to
./include/struct___timeval64.h.

This change would prevent from polluting other glibc namespaces (when
headers are modified to support 64 bit time on architectures with
__WORDSIZE==32).

Now it is possible to just include definition of this particular structure
when needed.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
include/struct___timeval64.h [new file with mode: 0644]
include/time.h