diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-02 03:35:55 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-02 03:35:55 -0700 |
commit | 8dc137228f4c97dbd03084270720731e7f037cc4 (patch) | |
tree | 559d80f629e4aad30206d7cfb25320f92f0af42d | |
parent | 3ff28a9d44de84d2cc3925fd84ea206b323f9169 (diff) | |
download | gcc-hjl/pr82384.tar.gz |
Fix x32 Adahjl/pr82384
-rw-r--r-- | gcc/ada/libgnarl/s-linux__x32.ads | 2 | ||||
-rw-r--r-- | gcc/ada/libgnarl/s-osinte__x32.adb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/libgnarl/s-linux__x32.ads b/gcc/ada/libgnarl/s-linux__x32.ads index 823d806ea84..25407392e07 100644 --- a/gcc/ada/libgnarl/s-linux__x32.ads +++ b/gcc/ada/libgnarl/s-linux__x32.ads @@ -45,7 +45,7 @@ package System.Linux is -- Time -- ---------- - type time_t is new Long_Long_Integer; + subtype time_t is Long_Long_Integer; subtype clockid_t is Interfaces.C.int; type timespec is record diff --git a/gcc/ada/libgnarl/s-osinte__x32.adb b/gcc/ada/libgnarl/s-osinte__x32.adb index a2874be3d69..6bb80cd6d0f 100644 --- a/gcc/ada/libgnarl/s-osinte__x32.adb +++ b/gcc/ada/libgnarl/s-osinte__x32.adb @@ -90,7 +90,6 @@ package body System.OS_Interface is S : time_t; F : Duration; - use type System.Linux.time_t; begin S := time_t (Long_Long_Integer (D)); F := D - Duration (S); |