summaryrefslogtreecommitdiff
path: root/gcc/ada/s-linux-hppa.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-07 10:12:03 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-07 10:12:03 +0000
commit5f02e5275ea1f27c9f0d2c64e8325ee10bbb2860 (patch)
tree23660b48f112efe646ffdfa4c8864aa92bdcbc03 /gcc/ada/s-linux-hppa.ads
parent6ce3c25be24c874ebf8ee547ba0bb621e6ed0bb3 (diff)
downloadgcc-5f02e5275ea1f27c9f0d2c64e8325ee10bbb2860.tar.gz
2015-01-07 Robert Dewar <dewar@adacore.com>
* a-reatim.adb, make.adb, exp_pakd.adb, i-cpoint.adb, sem_ch8.adb, exp_ch3.adb: Minor reformatting. 2015-01-07 Doug Rupp <rupp@adacore.com> * s-linux.ads (clockid_t): New subtype. * s-osinte-linux.ads (pragma Linker Options): Add -lrt. (clockid_t): New subtype. (clock_getres): Import system call. * s-taprop-linux.adb (System.OS_Constants): With and rename. (RT_Resolution): Remove hardcoded value and call clock_getres. * s-linux-sparc.ads, s-linux-mipsel.ads, s-linux-hppa.ads, s-linux-alpha.ads, s-linux-x32.ads (clockid_t): Add new subtype. 2015-01-07 Robert Dewar <dewar@adacore.com> * sem_warn.adb (Check_One_Unit): Guard against context item with no Entity field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219289 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-linux-hppa.ads')
-rw-r--r--gcc/ada/s-linux-hppa.ads1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/s-linux-hppa.ads b/gcc/ada/s-linux-hppa.ads
index 8f7d8117576..d72c96ebcaf 100644
--- a/gcc/ada/s-linux-hppa.ads
+++ b/gcc/ada/s-linux-hppa.ads
@@ -47,6 +47,7 @@ package System.Linux is
subtype long is Interfaces.C.long;
subtype suseconds_t is Interfaces.C.long;
subtype time_t is Interfaces.C.long;
+ subtype clockid_t is Interfaces.C.int;
type timespec is record
tv_sec : time_t;