summaryrefslogtreecommitdiff
path: root/gcc/ada/5hosinte.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/5hosinte.adb')
-rw-r--r--gcc/ada/5hosinte.adb21
1 files changed, 13 insertions, 8 deletions
diff --git a/gcc/ada/5hosinte.adb b/gcc/ada/5hosinte.adb
index 51a288ab531..dcd169ccf62 100644
--- a/gcc/ada/5hosinte.adb
+++ b/gcc/ada/5hosinte.adb
@@ -6,7 +6,8 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1991-2001, Florida State University --
+-- Copyright (C) 1991-1994, Florida State University --
+-- Copyright (C) 1995-2003, Ada Core Technologies --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -26,9 +27,8 @@
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
--- GNARL was developed by the GNARL team at Florida State University. It is --
--- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
--- State University (http://www.gnat.com). --
+-- GNARL was developed by the GNARL team at Florida State University. --
+-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
@@ -74,8 +74,8 @@ package body System.OS_Interface is
F := F + 1.0;
end if;
- return timespec' (tv_sec => S,
- tv_nsec => long (Long_Long_Integer (F * 10#1#E9)));
+ return timespec'(tv_sec => S,
+ tv_nsec => long (Long_Long_Integer (F * 10#1#E9)));
end To_Timespec;
function To_Duration (TV : struct_timeval) return Duration is
@@ -98,8 +98,10 @@ package body System.OS_Interface is
F := F + 1.0;
end if;
- return struct_timeval' (tv_sec => S,
- tv_usec => time_t (Long_Long_Integer (F * 10#1#E6)));
+ return
+ struct_timeval'
+ (tv_sec => S,
+ tv_usec => time_t (Long_Long_Integer (F * 10#1#E6)));
end To_Timeval;
---------------------------
@@ -128,6 +130,7 @@ package body System.OS_Interface is
-- DCE_THREADS does not have pthread_kill. Instead, we just ignore it.
function pthread_kill (thread : pthread_t; sig : Signal) return int is
+ pragma Unreferenced (thread, sig);
begin
return 0;
end pthread_kill;
@@ -539,6 +542,8 @@ package body System.OS_Interface is
end pthread_key_create;
function Get_Stack_Base (thread : pthread_t) return Address is
+ pragma Warnings (Off, thread);
+
begin
return Null_Address;
end Get_Stack_Base;