summaryrefslogtreecommitdiff
path: root/gcc/ada/5sosinte.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/5sosinte.adb')
-rw-r--r--gcc/ada/5sosinte.adb13
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ada/5sosinte.adb b/gcc/ada/5sosinte.adb
index bb90d60cfc4..2909c7d0a4e 100644
--- a/gcc/ada/5sosinte.adb
+++ b/gcc/ada/5sosinte.adb
@@ -6,8 +6,7 @@
-- --
-- B o d y --
-- --
--- --
--- Copyright (C) 1991-2001 Florida State University --
+-- Copyright (C) 1991-2002 Florida State University --
-- --
-- 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- --
@@ -68,8 +67,8 @@ package body System.OS_Interface is
-- If F has negative value due to a round-up, adjust for positive F
-- value.
if F < 0.0 then S := S - 1; 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
@@ -87,8 +86,10 @@ package body System.OS_Interface is
-- If F has negative value due to a round-up, adjust for positive F
-- value.
if F < 0.0 then S := S - 1; F := F + 1.0; end if;
- return struct_timeval' (tv_sec => S,
- tv_usec => long (Long_Long_Integer (F * 10#1#E6)));
+ return
+ struct_timeval'
+ (tv_sec => S,
+ tv_usec => long (Long_Long_Integer (F * 10#1#E6)));
end To_Timeval;
procedure pthread_init is