[Ada] Use OS_Time for interface to TZ functions.
commitc5049dfec7e13e458fbda1e9f01ffb0658484f70
authorDoug Rupp <rupp@adacore.com>
Tue, 22 Jun 2021 15:31:50 +0000 (22 08:31 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 20 Sep 2021 12:31:36 +0000 (20 12:31 +0000)
treef744d50fd45b84b47c4cd57bfc03d2db03a31eaa
parenta06c060b1555a74d27d2573a25b769dd024023c0
[Ada] Use OS_Time for interface to TZ functions.

gcc/ada/

* libgnat/a-calend.adb: Remove time_t, replace with OS_Time.
* libgnat/s-os_lib.ads: Fix comments regarding time_t conversion
functions to reflect the use of To_Ada in in Ada.Calendar
package body.
* sysdep.c (__gnat_localtime_tzoff): Use OS_Time instead of
time_t.
gcc/ada/libgnat/a-calend.adb
gcc/ada/libgnat/s-os_lib.ads
gcc/ada/sysdep.c