summaryrefslogtreecommitdiff
path: root/gcc/ada/a-direio.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-15 09:28:43 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-15 09:28:43 +0000
commit0311af6afb62db5816bc1b2e2e7ea3d7f27cee71 (patch)
tree34addcebd3391924517515b8f61a38087d82089e /gcc/ada/a-direio.adb
parent2e70d70dab8bc2f09b71041dc9719a5fbed638ab (diff)
downloadgcc-0311af6afb62db5816bc1b2e2e7ea3d7f27cee71.tar.gz
2006-02-13 Robert Dewar <dewar@adacore.com>
* s-gloloc-mingw.adb, a-cgaaso.ads, a-stzmap.adb, a-stzmap.adb, a-stzmap.ads, a-ztcoio.adb, a-ztedit.adb, a-ztedit.ads, a-ztenau.adb, a-ztenau.ads, a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads, a-comlin.adb, a-decima.adb, a-decima.ads, a-direio.adb, a-direio.adb, a-direio.adb, a-direio.ads, a-ngcoty.adb, a-ngcoty.ads, a-nuflra.adb, a-nuflra.ads, a-sequio.adb, a-sequio.ads, a-sequio.ads, a-storio.ads, a-stream.ads, a-ststio.adb, a-ststio.adb, a-ststio.ads, a-ststio.ads, a-stwima.adb, a-stwima.adb, a-stwima.ads, a-stwise.adb, a-teioed.adb, a-teioed.ads, a-ticoau.adb, a-ticoau.ads, a-ticoio.adb, a-tasatt.ads, a-tideau.adb, a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb, a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb, a-tiflio.adb, a-tiflio.ads, a-tigeau.ads, a-tiinau.adb, a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoio.adb, a-timoio.ads, a-titest.adb, a-titest.ads, a-wtcoio.adb, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb, a-wtdeio.ads, a-wtedit.adb, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb, a-wtenau.ads, a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb, a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb, a-wtflio.adb, a-wtflio.ads, a-wtgeau.ads, a-wtinau.adb, a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb, a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, xref_lib.adb, xref_lib.ads, xr_tabls.adb, g-boubuf.adb, g-boubuf.ads, g-cgideb.adb, g-io.adb, gnatdll.adb, g-pehage.adb, i-c.ads, g-spitbo.adb, g-spitbo.ads, mdll.adb, mlib-fil.adb, mlib-utl.adb, mlib-utl.ads, prj-env.adb, prj-tree.adb, prj-tree.ads, prj-util.adb, s-arit64.adb, s-asthan.ads, s-auxdec.adb, s-auxdec.ads, s-chepoo.ads, s-direio.adb, s-direio.ads, s-errrep.adb, s-errrep.ads, s-fileio.adb, s-fileio.ads, s-finroo.adb, s-finroo.ads, s-gloloc.adb, s-gloloc.ads, s-io.adb, s-io.ads, s-rpc.adb, s-rpc.ads, s-shasto.ads, s-sequio.adb, s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-taasde.adb, s-taasde.ads, s-tadert.adb, s-sequio.ads, s-taskin.adb, s-tasque.adb, s-tasque.ads, s-wchjis.ads, makegpr.adb, a-coinve.adb, a-cidlli.adb, eval_fat.adb, exp_dist.ads, exp_smem.adb, fmap.adb, g-dyntab.ads, g-expect.adb, lib-xref.ads, osint.adb, par-load.adb, restrict.adb, sinput-c.ads, a-cdlili.adb, system-vms.ads, system-vms-zcx.ads, system-vms_64.ads: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-direio.adb')
-rw-r--r--gcc/ada/a-direio.adb46
1 files changed, 23 insertions, 23 deletions
diff --git a/gcc/ada/a-direio.adb b/gcc/ada/a-direio.adb
index a5351f54b55..5674339e156 100644
--- a/gcc/ada/a-direio.adb
+++ b/gcc/ada/a-direio.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNAT 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- --
@@ -83,9 +83,9 @@ package body Ada.Direct_IO is
procedure Create
(File : in out File_Type;
- Mode : in File_Mode := Inout_File;
- Name : in String := "";
- Form : in String := "")
+ Mode : File_Mode := Inout_File;
+ Name : String := "";
+ Form : String := "")
is
begin
DIO.Create (FP (File), To_FCB (Mode), Name, Form);
@@ -105,7 +105,7 @@ package body Ada.Direct_IO is
-- End_Of_File --
-----------------
- function End_Of_File (File : in File_Type) return Boolean is
+ function End_Of_File (File : File_Type) return Boolean is
begin
return DIO.End_Of_File (FP (File));
end End_Of_File;
@@ -114,7 +114,7 @@ package body Ada.Direct_IO is
-- Form --
----------
- function Form (File : in File_Type) return String is
+ function Form (File : File_Type) return String is
begin
return FIO.Form (AP (File));
end Form;
@@ -123,7 +123,7 @@ package body Ada.Direct_IO is
-- Index --
-----------
- function Index (File : in File_Type) return Positive_Count is
+ function Index (File : File_Type) return Positive_Count is
begin
return Positive_Count (DIO.Index (FP (File)));
end Index;
@@ -132,7 +132,7 @@ package body Ada.Direct_IO is
-- Is_Open --
-------------
- function Is_Open (File : in File_Type) return Boolean is
+ function Is_Open (File : File_Type) return Boolean is
begin
return FIO.Is_Open (AP (File));
end Is_Open;
@@ -141,7 +141,7 @@ package body Ada.Direct_IO is
-- Mode --
----------
- function Mode (File : in File_Type) return File_Mode is
+ function Mode (File : File_Type) return File_Mode is
begin
return To_DIO (FIO.Mode (AP (File)));
end Mode;
@@ -150,7 +150,7 @@ package body Ada.Direct_IO is
-- Name --
----------
- function Name (File : in File_Type) return String is
+ function Name (File : File_Type) return String is
begin
return FIO.Name (AP (File));
end Name;
@@ -161,9 +161,9 @@ package body Ada.Direct_IO is
procedure Open
(File : in out File_Type;
- Mode : in File_Mode;
- Name : in String;
- Form : in String := "")
+ Mode : File_Mode;
+ Name : String;
+ Form : String := "")
is
begin
DIO.Open (FP (File), To_FCB (Mode), Name, Form);
@@ -175,9 +175,9 @@ package body Ada.Direct_IO is
----------
procedure Read
- (File : in File_Type;
+ (File : File_Type;
Item : out Element_Type;
- From : in Positive_Count)
+ From : Positive_Count)
is
begin
-- For a non-constrained variant record type, we read into an
@@ -207,7 +207,7 @@ package body Ada.Direct_IO is
end if;
end Read;
- procedure Read (File : in File_Type; Item : out Element_Type) is
+ procedure Read (File : File_Type; Item : out Element_Type) is
begin
-- Same processing for unconstrained case as above
@@ -235,7 +235,7 @@ package body Ada.Direct_IO is
-- Reset --
-----------
- procedure Reset (File : in out File_Type; Mode : in File_Mode) is
+ procedure Reset (File : in out File_Type; Mode : File_Mode) is
begin
DIO.Reset (FP (File), To_FCB (Mode));
end Reset;
@@ -249,7 +249,7 @@ package body Ada.Direct_IO is
-- Set_Index --
---------------
- procedure Set_Index (File : in File_Type; To : in Positive_Count) is
+ procedure Set_Index (File : File_Type; To : Positive_Count) is
begin
DIO.Set_Index (FP (File), DPCount (To));
end Set_Index;
@@ -258,7 +258,7 @@ package body Ada.Direct_IO is
-- Size --
----------
- function Size (File : in File_Type) return Count is
+ function Size (File : File_Type) return Count is
begin
return Count (DIO.Size (FP (File)));
end Size;
@@ -268,16 +268,16 @@ package body Ada.Direct_IO is
-----------
procedure Write
- (File : in File_Type;
- Item : in Element_Type;
- To : in Positive_Count)
+ (File : File_Type;
+ Item : Element_Type;
+ To : Positive_Count)
is
begin
DIO.Set_Index (FP (File), DPCount (To));
DIO.Write (FP (File), Item'Address, Item'Size / SU, Zeroes);
end Write;
- procedure Write (File : in File_Type; Item : in Element_Type) is
+ procedure Write (File : File_Type; Item : Element_Type) is
begin
DIO.Write (FP (File), Item'Address, Item'Size / SU, Zeroes);
end Write;