]> git.ipfire.org Git - thirdparty/glibc.git/commit
libsupport: Add 64-bit time_t support for time functions
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 25 Feb 2021 19:57:25 +0000 (16:57 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 15 Jun 2021 13:42:11 +0000 (10:42 -0300)
commite9bc2b3b38ff8a68248cdfe91b0d28c154382ec2
treeb0c059cca9af2591762b1b186e55c7c3a7960ad8
parent19873b18b08c97be8bf370398f6dff2b3472f52f
libsupport: Add 64-bit time_t support for time functions

The patch adds redirections for xclock_gettime, xclock_settime,
timespec_add, timespec_sub, test_timespec_before_impl,
test_timespec_equal_or_after_impl, support_timespec_ns,
support_timespec_normalize, and support_timespec_check_in_range when
_TIME_BITS=64 is defined.

Co-authored-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Carlos O'Donell <carlos@redhat.com>
support/Makefile
support/timespec-add-time64.c [new file with mode: 0644]
support/timespec-add.c
support/timespec-sub-time64.c [new file with mode: 0644]
support/timespec-sub.c
support/timespec-time64.c [new file with mode: 0644]
support/timespec.c
support/timespec.h
support/xclock_gettime_time64.c [new file with mode: 0644]
support/xclock_settime_time64.c [new file with mode: 0644]
support/xtime.h