]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s-osinte__kfreebsd-gnu.ads (clockid_t): Make type definition public.
authorJames Clarke <jrtc27@debian.org>
Thu, 4 Jul 2019 13:36:08 +0000 (13:36 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Thu, 4 Jul 2019 13:36:08 +0000 (13:36 +0000)
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: r273081

gcc/ada/ChangeLog
gcc/ada/libgnarl/s-osinte__kfreebsd-gnu.ads

index 1b9140bd53cfeb1a999f5c725fe68be1c77d294c..5d377469eea41fd50479707e4ece471fe1f9020a 100644 (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-06-29  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/decl.c (gnat_to_gnu_entity): Beep up comment on SAVED,
index f46bbda18eaf60f772de20a3bd15a90438bc6864..aa6c1a86bcce69b16fc89db13284fc6f2d52e41a 100644 (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;