From eda45984f43b7cc37c792e5ee1fc4a30435d5715 Mon Sep 17 00:00:00 2001 From: Doug Rupp Date: Tue, 29 May 2018 09:33:50 +0000 Subject: [PATCH] [Ada] Refine documentation of Monotonic_Clock to reflect reality 2018-05-29 Doug Rupp gcc/ada/ * libgnarl/s-taprop.ads (Monotonic_Clock): Refine documentation to reflect reality. From-SVN: r260863 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/libgnarl/s-taprop.ads | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 04a4822208a..42f433e311a 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2018-05-29 Doug Rupp + + * libgnarl/s-taprop.ads (Monotonic_Clock): Refine documentation to + reflect reality. + 2018-05-29 Richard Kenner * exp_ch4.adb (Expand_N_Op_Abs): Always do range check against 'First. diff --git a/gcc/ada/libgnarl/s-taprop.ads b/gcc/ada/libgnarl/s-taprop.ads index 942a9f43c96..3abfd2511b1 100644 --- a/gcc/ada/libgnarl/s-taprop.ads +++ b/gcc/ada/libgnarl/s-taprop.ads @@ -340,9 +340,9 @@ package System.Task_Primitives.Operations is function Monotonic_Clock return Duration; pragma Inline (Monotonic_Clock); - -- Returns "absolute" time, represented as an offset relative to "the - -- Epoch", which is Jan 1, 1970. This clock implementation is immune to - -- the system's clock changes. + -- Returns "absolute" time, represented as an offset relative to an + -- unspecified Epoch. This clock implementation is immune to the + -- system's clock changes. function RT_Resolution return Duration; pragma Inline (RT_Resolution); -- 2.30.2