]> git.ipfire.org Git - thirdparty/glibc.git/commit - include/struct___timespec64.h
y2038: include: Move struct __timespec64 definition to a separate file
authorLukasz Majewski <lukma@denx.de>
Wed, 12 Feb 2020 09:42:49 +0000 (10:42 +0100)
committerLukasz Majewski <lukma@denx.de>
Mon, 6 Apr 2020 21:05:11 +0000 (23:05 +0200)
commit390b5a4727924503095327087c5d5f7a369732ef
treea9074455ae9fddb4bc5a5d363c04b0c6ef5847c5
parentb9cde4e3aa1ff338da7064daf1386b2f4a7351ba
y2038: include: Move struct __timespec64 definition to a separate file

The struct __timespec64's definition has been moved from ./include/time.h to
./include/struct___timespec64.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: Adhemerval Zanella <adhemerval.zanella@linaro.org>
include/struct___timespec64.h [new file with mode: 0644]
include/time.h