aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@debian.org>2019-07-04 13:22:39 +0000
committerMatthias Klose <doko@gcc.gnu.org>2019-07-04 13:22:39 +0000
commit5bb8f28194ee8271357051441db27decbd74d5c5 (patch)
tree667befe29bcfefe2448b739fe0c224c8421d04e4 /gcc
parentf5fa046faa7f97662312e17aaab6da9713fe7518 (diff)
downloadgcc-5bb8f28194ee8271357051441db27decbd74d5c5.zip
gcc-5bb8f28194ee8271357051441db27decbd74d5c5.tar.gz
gcc-5bb8f28194ee8271357051441db27decbd74d5c5.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/ada/libgnarl/s-osinte__kfreebsd-gnu.ads8
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 45c5f39..bc6f2e0 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -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
diff --git a/gcc/ada/libgnarl/s-osinte__kfreebsd-gnu.ads b/gcc/ada/libgnarl/s-osinte__kfreebsd-gnu.ads
index f46bbda..aa6c1a8 100644
--- a/gcc/ada/libgnarl/s-osinte__kfreebsd-gnu.ads
+++ b/gcc/ada/libgnarl/s-osinte__kfreebsd-gnu.ads
@@ -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;