diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 10:41:24 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-26 10:41:24 +0000 |
commit | c211aebec4554931ed842085d5c6c9e818fde811 (patch) | |
tree | a45cee9b77f63bb77345528eb520b2ed1e2b0337 /gcc/ada/s-osprim-vxworks.adb | |
parent | daa5546e21d7cdd88b70af40875406dc7dad6864 (diff) | |
download | gcc-c211aebec4554931ed842085d5c6c9e818fde811.tar.gz |
2007-09-26 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch8.adb (Analyze_Use_Type): Code cleanup.
(Applicable_Use): Emit a warning when a package tries to use itself.
(Use_One_Type): Add variable Is_Known_Used. Emit a warning when a type
is already in use or the package where it is declared is in use or is
declared in the current package.
(Spec_Reloaded_For_Body): New subsidiary routine for Use_One_Type.
* a-tasatt.adb, s-osprim-vxworks.adb, g-socthi-mingw.adb,
s-intman-vms.adb, g-socket.adb, g-thread.adb, s-tarest.adb,
s-tassta.adb, s-tporft.adb: Remove redundant 'use type' clause.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128779 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-osprim-vxworks.adb')
-rw-r--r-- | gcc/ada/s-osprim-vxworks.adb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/ada/s-osprim-vxworks.adb b/gcc/ada/s-osprim-vxworks.adb index 6f1b50a63c7..901954bb53b 100644 --- a/gcc/ada/s-osprim-vxworks.adb +++ b/gcc/ada/s-osprim-vxworks.adb @@ -96,9 +96,6 @@ package body System.OS_Primitives is function Clock return Duration is TS : aliased timespec; Result : int; - - use type Interfaces.C.int; - begin Result := clock_gettime (CLOCK_REALTIME, TS'Unchecked_Access); pragma Assert (Result = 0); |