s-osinte__kfreebsd-gnu.ads (clockid_t): Make type definition public.

2019-07-04  James Clarke <jrtc27@debian.org>

        * libgnarl/s-osinte__kfreebsd-gnu.ads (clockid_t): Make type
        definition public.
        (CLOCK_REALTIME): Make value public.

From-SVN: r273080
This commit is contained in:
James Clarke 2019-07-04 13:22:39 +00:00 committed by Matthias Klose
parent f5fa046faa
commit 5bb8f28194
2 changed files with 8 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2019-07-04 James Clarke <jrtc27@debian.org>
* libgnarl/s-osinte__kfreebsd-gnu.ads (clockid_t): Make type
definition public.
(CLOCK_REALTIME): Make value public.
2019-07-04 Javier Miranda <miranda@adacore.com>
* exp_tss.adb (Init_Proc): Adding missing support for access to

View file

@ -206,9 +206,8 @@ package System.OS_Interface is
function nanosleep (rqtp, rmtp : access timespec) return int;
pragma Import (C, nanosleep, "nanosleep");
type clockid_t is private;
CLOCK_REALTIME : constant clockid_t;
type clockid_t is new int;
CLOCK_REALTIME : constant clockid_t := 0;
function clock_gettime
(clock_id : clockid_t;
@ -607,9 +606,6 @@ private
end record;
pragma Convention (C, timespec);
type clockid_t is new int;
CLOCK_REALTIME : constant clockid_t := 0;
type pthread_attr_t is record
detachstate : int;
schedpolicy : int;