[Ada] New function to return nanoseconds from Unix Epoch
authorDoug Rupp <rupp@adacore.com>
Tue, 29 May 2018 09:38:17 +0000 (09:38 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 29 May 2018 09:38:17 +0000 (09:38 +0000)
commit35f5e2c14ae1b0959292312ef6c0eb23554e025d
tree7190e555afe38348cd300ce84d057a2ae51a67ba
parent0f9ca0303ed932c4c2df9b3439aac6b6566a6728
[Ada] New function to return nanoseconds from Unix Epoch

2018-05-29  Doug Rupp  <rupp@adacore.com>

gcc/ada/

* libgnat/a-calend.adb (Epoch_Offset): Move from body to ...
* libgnat/a-calend.ads (Epoch_Offset): to private part of spec
* libgnat/a-calcon.ads (To_Unix_Nano_Time): New function spec.
* libgnat/a-calcon.adb (To_Unix_Nano_Time): New function body.

From-SVN: r260870
gcc/ada/ChangeLog
gcc/ada/libgnat/a-calcon.adb
gcc/ada/libgnat/a-calcon.ads
gcc/ada/libgnat/a-calend.adb
gcc/ada/libgnat/a-calend.ads