s-gloloc-mingw.adb, [...]: Minor reformatting.
authorRobert Dewar <dewar@adacore.com>
Wed, 15 Feb 2006 09:28:43 +0000 (10:28 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:28:43 +0000 (10:28 +0100)
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.

From-SVN: r111023

155 files changed:
gcc/ada/a-cdlili.adb
gcc/ada/a-cgaaso.ads
gcc/ada/a-cidlli.adb
gcc/ada/a-coinve.adb
gcc/ada/a-colien.adb
gcc/ada/a-colien.ads
gcc/ada/a-colire.adb
gcc/ada/a-colire.ads
gcc/ada/a-comlin.adb
gcc/ada/a-decima.adb
gcc/ada/a-decima.ads
gcc/ada/a-direio.adb
gcc/ada/a-direio.ads
gcc/ada/a-ngcoty.adb
gcc/ada/a-ngcoty.ads
gcc/ada/a-nuflra.adb
gcc/ada/a-nuflra.ads
gcc/ada/a-sequio.adb
gcc/ada/a-sequio.ads
gcc/ada/a-storio.ads
gcc/ada/a-stream.ads
gcc/ada/a-ststio.adb
gcc/ada/a-ststio.ads
gcc/ada/a-stwima.adb
gcc/ada/a-stwima.ads
gcc/ada/a-stwise.adb
gcc/ada/a-stzmap.adb
gcc/ada/a-stzmap.ads
gcc/ada/a-tasatt.ads
gcc/ada/a-teioed.adb
gcc/ada/a-teioed.ads
gcc/ada/a-ticoau.adb
gcc/ada/a-ticoau.ads
gcc/ada/a-ticoio.adb
gcc/ada/a-tideau.adb
gcc/ada/a-tideau.ads
gcc/ada/a-tideio.adb
gcc/ada/a-tideio.ads
gcc/ada/a-tienau.adb
gcc/ada/a-tienau.ads
gcc/ada/a-tienio.adb
gcc/ada/a-tienio.ads
gcc/ada/a-tifiio.ads
gcc/ada/a-tiflau.adb
gcc/ada/a-tiflau.ads
gcc/ada/a-tiflio.adb
gcc/ada/a-tiflio.ads
gcc/ada/a-tigeau.ads
gcc/ada/a-tiinau.adb
gcc/ada/a-tiinau.ads
gcc/ada/a-tiinio.adb
gcc/ada/a-tiinio.ads
gcc/ada/a-timoio.adb
gcc/ada/a-timoio.ads
gcc/ada/a-titest.adb
gcc/ada/a-titest.ads
gcc/ada/a-wtcoio.adb
gcc/ada/a-wtdeau.adb
gcc/ada/a-wtdeau.ads
gcc/ada/a-wtdeio.adb
gcc/ada/a-wtdeio.ads
gcc/ada/a-wtedit.adb
gcc/ada/a-wtedit.ads
gcc/ada/a-wtenau.adb
gcc/ada/a-wtenau.ads
gcc/ada/a-wtenio.adb
gcc/ada/a-wtenio.ads
gcc/ada/a-wtfiio.adb
gcc/ada/a-wtfiio.ads
gcc/ada/a-wtflau.adb
gcc/ada/a-wtflau.ads
gcc/ada/a-wtflio.adb
gcc/ada/a-wtflio.ads
gcc/ada/a-wtgeau.ads
gcc/ada/a-wtinau.adb
gcc/ada/a-wtinau.ads
gcc/ada/a-wtinio.adb
gcc/ada/a-wtinio.ads
gcc/ada/a-wtmoau.adb
gcc/ada/a-wtmoau.ads
gcc/ada/a-wtmoio.adb
gcc/ada/a-wtmoio.ads
gcc/ada/a-ztcoio.adb
gcc/ada/a-ztedit.adb
gcc/ada/a-ztedit.ads
gcc/ada/a-ztenau.adb
gcc/ada/a-ztenau.ads
gcc/ada/eval_fat.adb
gcc/ada/exp_dist.ads
gcc/ada/exp_smem.adb
gcc/ada/fmap.adb
gcc/ada/g-boubuf.adb
gcc/ada/g-boubuf.ads
gcc/ada/g-cgideb.adb
gcc/ada/g-dyntab.ads
gcc/ada/g-expect.adb
gcc/ada/g-io.adb
gcc/ada/g-pehage.adb
gcc/ada/g-spitbo.adb
gcc/ada/g-spitbo.ads
gcc/ada/gnatdll.adb
gcc/ada/i-c.ads
gcc/ada/lib-xref.ads
gcc/ada/makegpr.adb
gcc/ada/mdll.adb
gcc/ada/mlib-fil.adb
gcc/ada/mlib-utl.adb
gcc/ada/mlib-utl.ads
gcc/ada/osint.adb
gcc/ada/par-load.adb
gcc/ada/prj-env.adb
gcc/ada/prj-tree.adb
gcc/ada/prj-tree.ads
gcc/ada/prj-util.adb
gcc/ada/restrict.adb
gcc/ada/s-arit64.adb
gcc/ada/s-asthan.ads
gcc/ada/s-auxdec.adb
gcc/ada/s-auxdec.ads
gcc/ada/s-chepoo.ads
gcc/ada/s-direio.adb
gcc/ada/s-direio.ads
gcc/ada/s-errrep.adb
gcc/ada/s-errrep.ads
gcc/ada/s-fileio.adb
gcc/ada/s-fileio.ads
gcc/ada/s-finroo.adb
gcc/ada/s-finroo.ads
gcc/ada/s-gloloc-mingw.adb
gcc/ada/s-gloloc.adb
gcc/ada/s-gloloc.ads
gcc/ada/s-io.adb
gcc/ada/s-io.ads
gcc/ada/s-rpc.adb
gcc/ada/s-rpc.ads
gcc/ada/s-sequio.adb
gcc/ada/s-sequio.ads
gcc/ada/s-shasto.ads
gcc/ada/s-stopoo.ads
gcc/ada/s-stratt.adb
gcc/ada/s-stratt.ads
gcc/ada/s-taasde.adb
gcc/ada/s-taasde.ads
gcc/ada/s-tadert.adb
gcc/ada/s-taskin.adb
gcc/ada/s-tasque.adb
gcc/ada/s-tasque.ads
gcc/ada/s-wchjis.ads
gcc/ada/sinput-c.ads
gcc/ada/system-vms-zcx.ads
gcc/ada/system-vms.ads
gcc/ada/system-vms_64.ads
gcc/ada/xr_tabls.adb
gcc/ada/xref_lib.adb
gcc/ada/xref_lib.ads

index c6d7dbff0fe9388e71baa85aa9bcd3f584cc97e0..af83a6db73b480555a608cb650133c101ba25be7 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2004-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -499,9 +499,7 @@ package body Ada.Containers.Doubly_Linked_Lists is
 
       procedure Sort (Container : in out List) is
 
-         procedure Partition
-           (Pivot : in Node_Access;
-            Back  : in Node_Access);
+         procedure Partition (Pivot : Node_Access; Back : Node_Access);
 
          procedure Sort (Front, Back : Node_Access);
 
@@ -509,10 +507,7 @@ package body Ada.Containers.Doubly_Linked_Lists is
          -- Partition --
          ---------------
 
-         procedure Partition
-           (Pivot : Node_Access;
-            Back  : Node_Access)
-         is
+         procedure Partition (Pivot : Node_Access; Back : Node_Access) is
             Node : Node_Access := Pivot.Next;
 
          begin
@@ -948,7 +943,7 @@ package body Ada.Containers.Doubly_Linked_Lists is
 
    procedure Query_Element
      (Position : Cursor;
-      Process  : not null access procedure (Element : in Element_Type))
+      Process  : not null access procedure (Element : Element_Type))
    is
    begin
       if Position.Node = null then
index e9d031990d714ac647f5d2b73f80369c414be0a7..0870512d49e7ef496dc3406b27dd077f21dd5c96 100644 (file)
@@ -7,7 +7,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 2004-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2004-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -40,6 +40,6 @@ generic
    with procedure Swap (Left, Right : Index_Type) is <>;
 
 procedure Ada.Containers.Generic_Anonymous_Array_Sort
-  (First, Last : in Index_Type'Base);
+  (First, Last : Index_Type'Base);
 
 pragma Pure (Ada.Containers.Generic_Anonymous_Array_Sort);
index 0752f9fa09c6ae884c4334f4ec634918d5c7cab5..f34c9e529869655f9d0db2a5120851b509507837 100644 (file)
@@ -7,7 +7,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2004-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -789,7 +789,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
 
    procedure Iterate
      (Container : List;
-      Process   : not null access procedure (Position : in Cursor))
+      Process   : not null access procedure (Position : Cursor))
    is
       C : List renames Container'Unrestricted_Access.all;
       B : Natural renames C.Busy;
@@ -969,7 +969,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
 
    procedure Query_Element
      (Position : Cursor;
-      Process  : not null access procedure (Element : in Element_Type))
+      Process  : not null access procedure (Element : Element_Type))
    is
    begin
       if Position.Node = null then
@@ -1233,7 +1233,7 @@ package body Ada.Containers.Indefinite_Doubly_Linked_Lists is
 
    procedure Reverse_Iterate
      (Container : List;
-      Process   : not null access procedure (Position : in Cursor))
+      Process   : not null access procedure (Position : Cursor))
    is
       C : List renames Container'Unrestricted_Access.all;
       B : Natural renames C.Busy;
index 6aee444e1b03c3a2c44df79ac6c4f09be13f9069..2252f78017aae5951b2b7f49187d971cd4cf9e35 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2004-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -1620,7 +1620,7 @@ package body Ada.Containers.Indefinite_Vectors is
 
    procedure Iterate
      (Container : Vector;
-      Process   : not null access procedure (Position : in Cursor))
+      Process   : not null access procedure (Position : Cursor))
    is
       V : Vector renames Container'Unrestricted_Access.all;
       B : Natural renames V.Busy;
@@ -1811,7 +1811,7 @@ package body Ada.Containers.Indefinite_Vectors is
    procedure Query_Element
      (Container : Vector;
       Index     : Index_Type;
-      Process   : not null access procedure (Element : in Element_Type))
+      Process   : not null access procedure (Element : Element_Type))
    is
       V : Vector renames Container'Unrestricted_Access.all;
       B : Natural renames V.Busy;
@@ -1844,7 +1844,7 @@ package body Ada.Containers.Indefinite_Vectors is
 
    procedure Query_Element
      (Position : Cursor;
-      Process  : not null access procedure (Element : in Element_Type))
+      Process  : not null access procedure (Element : Element_Type))
    is
    begin
       if Position.Container = null then
@@ -2189,7 +2189,7 @@ package body Ada.Containers.Indefinite_Vectors is
 
    procedure Reverse_Iterate
      (Container : Vector;
-      Process   : not null access procedure (Position : in Cursor))
+      Process   : not null access procedure (Position : Cursor))
    is
       V : Vector renames Container'Unrestricted_Access.all;
       B : Natural renames V.Busy;
index 881fb0c32f4bf86aa54c4b9f0ed41311ee0a7220..7412a40f119dcc170482a91eaa3d66fcb0059a0c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1996-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1996-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- --
@@ -51,7 +51,7 @@ package body Ada.Command_Line.Environment is
    -- Environment_Value --
    -----------------------
 
-   function Environment_Value (Number : in Positive) return String is
+   function Environment_Value (Number : Positive) return String is
       procedure Fill_Env (E : System.Address; Env_Num : Integer);
       pragma Import (C, Fill_Env, "__gnat_fill_env");
 
index 404845bcc09202ad8ed0c5ff5db227e4f09bebce..fb6b94791e02ace1ef424b3c03936847db2367d9 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1996-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1996-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- --
@@ -45,7 +45,7 @@ package Ada.Command_Line.Environment is
    --  variables in the environment of the program invoking the function.
    --  Otherwise it returns 0.  And that's a lot of environment.
 
-   function Environment_Value (Number : in Positive) return String;
+   function Environment_Value (Number : Positive) return String;
    --  If the external execution environment supports passing the environment
    --  to a program, then Environment_Value returns an implementation-defined
    --  value corresponding to the value at relative position Number. If Number
index 096c166b8dd41e530c75764bac48c10380b439af..0e283fcb82a0b5794b1d938ae38d61ecdc16b287 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1999-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1999-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- --
@@ -60,7 +60,7 @@ package body Ada.Command_Line.Remove is
    -- Remove_Argument --
    ---------------------
 
-   procedure Remove_Argument (Number : in Positive) is
+   procedure Remove_Argument (Number : Positive) is
    begin
       Initialize;
 
index e0c038806f7b71a0e085b0b6db8fa122f7e2c704..6a826bc406ad363da8963d8577f9b13282dfe741 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1999-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1999-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- --
@@ -43,7 +43,7 @@
 package Ada.Command_Line.Remove is
    pragma Preelaborate;
 
-   procedure Remove_Argument (Number : in Positive);
+   procedure Remove_Argument (Number : Positive);
    --  Removes the argument identified by Number, which must be in the
    --  range 1 .. Argument_Count (i.e. an in range argument number which
    --  reflects removals). If Number is out of range Constraint_Error
index ab438788d45c1f78879f56f96614e13a04c074c1..325c46df4f8f8e90dc071b985808592ffc2149dc 100644 (file)
@@ -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- --
@@ -57,7 +57,7 @@ package body Ada.Command_Line is
    -- Argument --
    --------------
 
-   function Argument (Number : in Positive) return String is
+   function Argument (Number : Positive) return String is
       Num : Positive;
 
    begin
index 80be38f920dc9fb214f5a1fde5522ef86755ef62..274db5ae17feeee02aa8ab7b8f15044d3ab8179c 100644 (file)
@@ -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- --
@@ -38,8 +38,8 @@ package body Ada.Decimal is
    ------------
 
    procedure Divide
-     (Dividend  : in Dividend_Type;
-      Divisor   : in Divisor_Type;
+     (Dividend  : Dividend_Type;
+      Divisor   : Divisor_Type;
       Quotient  : out Quotient_Type;
       Remainder : out Remainder_Type)
    is
@@ -48,8 +48,8 @@ package body Ada.Decimal is
       --  not have convention Intrinsic.
 
       procedure Divide
-        (Dividend  : in Dividend_Type;
-         Divisor   : in Divisor_Type;
+        (Dividend  : Dividend_Type;
+         Divisor   : Divisor_Type;
          Quotient  : out Quotient_Type;
          Remainder : out Remainder_Type);
 
index 9fdbaa292eacf3c0c2fd7436a9e46b8ecefd7987..5ce1a4b0727d08f0863b92ec12f9b9128a0f70b3 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -58,8 +58,8 @@ package Ada.Decimal is
       type Remainder_Type is delta <> digits <>;
 
    procedure Divide
-     (Dividend  : in Dividend_Type;
-      Divisor   : in Divisor_Type;
+     (Dividend  : Dividend_Type;
+      Divisor   : Divisor_Type;
       Quotient  : out Quotient_Type;
       Remainder : out Remainder_Type);
 
index a5351f54b55818fd503b773c9f1a0f592205fa9e..5674339e156e9abd3bb469960c8c8cbc31726138 100644 (file)
@@ -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;
index a98e93f5fba3ea13dbb9ef28a0977053763ea7a4..29aef9cc0494a5567016dc22508c06c62e6fe3ae 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -71,55 +71,55 @@ package 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 := "");
 
    procedure Open
      (File : in out File_Type;
-      Mode : in File_Mode;
-      Name : in String;
-      Form : in String := "");
+      Mode : File_Mode;
+      Name : String;
+      Form : String := "");
 
    procedure Close  (File : in out File_Type);
    procedure Delete (File : in out File_Type);
-   procedure Reset  (File : in out File_Type; Mode : in File_Mode);
+   procedure Reset  (File : in out File_Type; Mode : File_Mode);
    procedure Reset  (File : in out File_Type);
 
-   function Mode (File : in File_Type) return File_Mode;
-   function Name (File : in File_Type) return String;
-   function Form (File : in File_Type) return String;
+   function Mode (File : File_Type) return File_Mode;
+   function Name (File : File_Type) return String;
+   function Form (File : File_Type) return String;
 
-   function Is_Open (File : in File_Type) return Boolean;
+   function Is_Open (File : File_Type) return Boolean;
 
    ---------------------------------
    -- Input and Output Operations --
    ---------------------------------
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : out Element_Type;
-      From : in Positive_Count);
+      From : Positive_Count);
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : out Element_Type);
 
    procedure Write
-     (File : in File_Type;
-      Item : in Element_Type;
-      To   : in Positive_Count);
+     (File : File_Type;
+      Item : Element_Type;
+      To   : Positive_Count);
 
    procedure Write
-     (File : in File_Type;
-      Item : in Element_Type);
+     (File : File_Type;
+      Item : Element_Type);
 
-   procedure Set_Index (File : in File_Type; To : in Positive_Count);
+   procedure Set_Index (File : File_Type; To : Positive_Count);
 
-   function Index (File : in File_Type) return Positive_Count;
-   function Size  (File : in File_Type) return Count;
+   function Index (File : File_Type) return Positive_Count;
+   function Size  (File : File_Type) return Count;
 
-   function End_Of_File (File : in File_Type) return Boolean;
+   function End_Of_File (File : File_Type) return Boolean;
 
    ----------------
    -- Exceptions --
index f0abc80ec372814180d1be415b2bde3805c43864..044f748fb6a81acf1f81660110852d037bd66f90 100644 (file)
@@ -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- --
@@ -647,12 +647,12 @@ package body Ada.Numerics.Generic_Complex_Types is
    -- Set_Im --
    ------------
 
-   procedure Set_Im (X : in out Complex; Im : in Real'Base) is
+   procedure Set_Im (X : in out Complex; Im : Real'Base) is
    begin
       X.Im := Im;
    end Set_Im;
 
-   procedure Set_Im (X : out Imaginary; Im : in Real'Base) is
+   procedure Set_Im (X : out Imaginary; Im : Real'Base) is
    begin
       X := Imaginary (Im);
    end Set_Im;
@@ -661,7 +661,7 @@ package body Ada.Numerics.Generic_Complex_Types is
    -- Set_Re --
    ------------
 
-   procedure Set_Re (X : in out Complex; Re : in Real'Base) is
+   procedure Set_Re (X : in out Complex; Re : Real'Base) is
    begin
       X.Re := Re;
    end Set_Re;
index 0e006d24cb96f597540467018ee516dbf0f42b55..33e818a68241595f24541f8890eb5b6d9381d5c4 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -56,9 +56,9 @@ package Ada.Numerics.Generic_Complex_Types is
    function Im (X : Complex)   return Real'Base;
    function Im (X : Imaginary) return Real'Base;
 
-   procedure Set_Re (X  : in out Complex;   Re : in Real'Base);
-   procedure Set_Im (X  : in out Complex;   Im : in Real'Base);
-   procedure Set_Im (X  :    out Imaginary; Im : in Real'Base);
+   procedure Set_Re (X : in out Complex; Re : Real'Base);
+   procedure Set_Im (X : in out Complex; Im : Real'Base);
+   procedure Set_Im (X : out Imaginary;  Im : Real'Base);
 
    function Compose_From_Cartesian (Re, Im : Real'Base) return Complex;
    function Compose_From_Cartesian (Re     : Real'Base) return Complex;
index 379d58fe7b4a764056ad918aed972c48f5a6f74b..ae23f459381febdda12575b380c523b06982d350 100644 (file)
@@ -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- --
@@ -55,7 +55,7 @@ package body Ada.Numerics.Float_Random is
    -- Local Subprograms --
    -----------------------
 
-   procedure Euclid (P, Q : in Int; X, Y : out Int; GCD : out Int);
+   procedure Euclid (P, Q : Int; X, Y : out Int; GCD : out Int);
 
    function  Euclid (P, Q : Int) return Int;
 
@@ -65,24 +65,24 @@ package body Ada.Numerics.Float_Random is
    -- Euclid --
    ------------
 
-   procedure Euclid (P, Q : in Int; X, Y : out Int; GCD : out Int) is
+   procedure Euclid (P, Q : Int; X, Y : out Int; GCD : out Int) is
 
       XT : Int := 1;
       YT : Int := 0;
 
       procedure Recur
-        (P,  Q  : in Int;                 --  a (i-1), a (i)
-         X,  Y  : in Int;                 --  x (i),   y (i)
+        (P,  Q  : Int;                    --  a (i-1), a (i)
+         X,  Y  : Int;                    --  x (i),   y (i)
          XP, YP : in out Int;             --  x (i-1), y (i-1)
          GCD    : out Int);
 
       procedure Recur
-        (P,  Q  : in Int;
-         X,  Y  : in Int;
+        (P,  Q  : Int;
+         X,  Y  : Int;
          XP, YP : in out Int;
          GCD    : out Int)
       is
-         Quo : Int  := P / Q;             --  q <-- |_ a (i-1) / a (i) _|
+         Quo : Int := P / Q;              --  q <-- |_ a (i-1) / a (i) _|
          XT  : Int := X;                  --  x (i)
          YT  : Int := Y;                  --  y (i)
 
@@ -156,7 +156,7 @@ package body Ada.Numerics.Float_Random is
 
    --  Version that works from given initiator value
 
-   procedure Reset (Gen : in Generator; Initiator : in Integer) is
+   procedure Reset (Gen : Generator; Initiator : Integer) is
       Genp   : constant Pointer := Gen.Gen_State'Unrestricted_Access;
       X1, X2 : Int;
 
@@ -227,7 +227,7 @@ package body Ada.Numerics.Float_Random is
    -- Save --
    ----------
 
-   procedure Save (Gen : in Generator; To_State : out State) is
+   procedure Save (Gen : Generator; To_State : out State) is
    begin
       To_State := Gen.Gen_State;
    end Save;
index 898a7fd72b7ee79a8450992b5aa41f293c1db41d..8d3f097aa2af53dc7f97549645146dba0d66f83c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2002 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -69,7 +69,7 @@ package Ada.Numerics.Float_Random is
 
    Max_Image_Width : constant := 80;
 
-   function Image (Of_State :    State)  return String;
+   function Image (Of_State    : State)  return String;
    function Value (Coded_State : String) return State;
 
 private
index 6d4d84f9d2f41d37f557f05130ef1821b5a98099..6fea01ef88ca64ce456183d1829b706e1aef608a 100644 (file)
@@ -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- --
@@ -76,9 +76,9 @@ package body Ada.Sequential_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in File_Mode := Out_File;
-      Name : in String := "";
-      Form : in String := "")
+      Mode : File_Mode := Out_File;
+      Name : String := "";
+      Form : String := "")
    is
    begin
       SIO.Create (FP (File), To_FCB (Mode), Name, Form);
@@ -97,7 +97,7 @@ package body Ada.Sequential_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 FIO.End_Of_File (AP (File));
    end End_Of_File;
@@ -106,7 +106,7 @@ package body Ada.Sequential_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;
@@ -115,7 +115,7 @@ package body Ada.Sequential_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;
@@ -124,7 +124,7 @@ package body Ada.Sequential_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_SIO (FIO.Mode (AP (File)));
    end Mode;
@@ -133,7 +133,7 @@ package body Ada.Sequential_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;
@@ -144,9 +144,9 @@ package body Ada.Sequential_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
       SIO.Open (FP (File), To_FCB (Mode), Name, Form);
@@ -156,7 +156,7 @@ package body Ada.Sequential_IO is
    -- Read --
    ----------
 
-   procedure Read (File : in File_Type; Item : out Element_Type) is
+   procedure Read (File : File_Type; Item : out Element_Type) is
       Siz  : constant size_t := (Item'Size + SU - 1) / SU;
       Rsiz : size_t;
 
@@ -238,7 +238,7 @@ package body Ada.Sequential_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
       FIO.Reset (AP (File), To_FCB (Mode));
    end Reset;
@@ -252,7 +252,7 @@ package body Ada.Sequential_IO is
    -- Write --
    -----------
 
-   procedure Write (File : in File_Type; Item : in Element_Type) is
+   procedure Write (File : File_Type; Item : Element_Type) is
       Siz : constant size_t := (Item'Size + SU - 1) / SU;
 
    begin
index 2aba80abfc501a42a81de6871ece7fa733972aaf..a811d567b236390dc512dec225747525c27b38c1 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -67,35 +67,35 @@ package Ada.Sequential_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in File_Mode := Out_File;
-      Name : in String := "";
-      Form : in String := "");
+      Mode : File_Mode := Out_File;
+      Name : String := "";
+      Form : String := "");
 
    procedure Open
      (File : in out File_Type;
-      Mode : in File_Mode;
-      Name : in String;
-      Form : in String := "");
+      Mode : File_Mode;
+      Name : String;
+      Form : String := "");
 
    procedure Close  (File : in out File_Type);
    procedure Delete (File : in out File_Type);
-   procedure Reset  (File : in out File_Type; Mode : in File_Mode);
+   procedure Reset  (File : in out File_Type; Mode : File_Mode);
    procedure Reset  (File : in out File_Type);
 
-   function Mode    (File : in File_Type) return File_Mode;
-   function Name    (File : in File_Type) return String;
-   function Form    (File : in File_Type) return String;
+   function Mode    (File : File_Type) return File_Mode;
+   function Name    (File : File_Type) return String;
+   function Form    (File : File_Type) return String;
 
-   function Is_Open (File : in File_Type) return Boolean;
+   function Is_Open (File : File_Type) return Boolean;
 
    ---------------------------------
    -- Input and output operations --
    ---------------------------------
 
-   procedure Read  (File : in File_Type; Item : out Element_Type);
-   procedure Write (File : in File_Type; Item : in Element_Type);
+   procedure Read  (File : File_Type; Item : out Element_Type);
+   procedure Write (File : File_Type; Item : Element_Type);
 
-   function End_Of_File (File : in File_Type) return Boolean;
+   function End_Of_File (File : File_Type) return Boolean;
 
    ----------------
    -- Exceptions --
index 23e57c53abdccb639ae739395c518310420e8ed9..e5268c803999ba31ff3e4339707351bdaae80c5a 100644 (file)
@@ -34,9 +34,9 @@ package Ada.Storage_IO is
    -- Input and Output Operations --
    ---------------------------------
 
-   procedure Read  (Buffer : in  Buffer_Type; Item : out Element_Type);
+   procedure Read (Buffer : Buffer_Type; Item : out Element_Type);
 
-   procedure Write (Buffer : out Buffer_Type; Item : in  Element_Type);
+   procedure Write (Buffer : out Buffer_Type; Item : Element_Type);
 
    ----------------
    -- Exceptions --
index 5bca4a2cc5b2a1569137a8f9d7ca853315021698..ce3c335e71fc190e7c1b3e336d8cbd5163741b6d 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -60,7 +60,7 @@ package Ada.Streams is
 
    procedure Write
      (Stream : in out Root_Stream_Type;
-      Item   : in Stream_Element_Array)
+      Item   : Stream_Element_Array)
    is abstract;
 
 private
index 4a61e0c28ed70edf0432345e96b892f3a7e7ec0e..7091d5d9f7b3bad3f3f753e696e5e8a1e3b6cd4e 100644 (file)
@@ -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- --
 --                                                                          --
 ------------------------------------------------------------------------------
 
-with Interfaces.C_Streams;      use Interfaces.C_Streams;
-with System;                    use System;
+with Interfaces.C_Streams; use Interfaces.C_Streams;
+
+with System;               use System;
 with System.File_IO;
 with System.Soft_Links;
 with System.CRTL;
+
 with Unchecked_Conversion;
 with Unchecked_Deallocation;
 
@@ -55,7 +57,7 @@ package body Ada.Streams.Stream_IO is
    -- Local Subprograms --
    -----------------------
 
-   procedure Set_Position (File : in File_Type);
+   procedure Set_Position (File : File_Type);
    --  Sets file position pointer according to value of current index
 
    -------------------
@@ -64,7 +66,6 @@ package body Ada.Streams.Stream_IO is
 
    function AFCB_Allocate (Control_Block : Stream_AFCB) return FCB.AFCB_Ptr is
       pragma Warnings (Off, Control_Block);
-
    begin
       return new Stream_AFCB;
    end AFCB_Allocate;
@@ -77,7 +78,6 @@ package body Ada.Streams.Stream_IO is
 
    procedure AFCB_Close (File : access Stream_AFCB) is
       pragma Warnings (Off, File);
-
    begin
       null;
    end AFCB_Close;
@@ -111,9 +111,9 @@ package body Ada.Streams.Stream_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in File_Mode := Out_File;
-      Name : in String := "";
-      Form : in String := "")
+      Mode : File_Mode := Out_File;
+      Name : String := "";
+      Form : String := "")
    is
       Dummy_File_Control_Block : Stream_AFCB;
       pragma Warnings (Off, Dummy_File_Control_Block);
@@ -145,7 +145,7 @@ package body Ada.Streams.Stream_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
       FIO.Check_Read_Status (AP (File));
       return Count (File.Index) > Size (File);
@@ -164,7 +164,7 @@ package body Ada.Streams.Stream_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;
@@ -173,7 +173,7 @@ package body Ada.Streams.Stream_IO is
    -- Index --
    -----------
 
-   function Index (File : in File_Type) return Positive_Count is
+   function Index (File : File_Type) return Positive_Count is
    begin
       FIO.Check_File_Open (AP (File));
       return Count (File.Index);
@@ -183,7 +183,7 @@ package body Ada.Streams.Stream_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;
@@ -192,7 +192,7 @@ package body Ada.Streams.Stream_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_SIO (FIO.Mode (AP (File)));
    end Mode;
@@ -201,7 +201,7 @@ package body Ada.Streams.Stream_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;
@@ -212,9 +212,9 @@ package body Ada.Streams.Stream_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
       Dummy_File_Control_Block : Stream_AFCB;
       pragma Warnings (Off, Dummy_File_Control_Block);
@@ -255,10 +255,10 @@ package body Ada.Streams.Stream_IO is
    ----------
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : out Stream_Element_Array;
       Last : out Stream_Element_Offset;
-      From : in Positive_Count)
+      From : Positive_Count)
    is
    begin
       Set_Index (File, From);
@@ -266,7 +266,7 @@ package body Ada.Streams.Stream_IO is
    end Read;
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : out Stream_Element_Array;
       Last : out Stream_Element_Offset)
    is
@@ -319,7 +319,7 @@ package body Ada.Streams.Stream_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
       FIO.Check_File_Open (AP (File));
 
@@ -339,7 +339,7 @@ package body Ada.Streams.Stream_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
       FIO.Check_File_Open (AP (File));
       File.Index := Count (To);
@@ -350,7 +350,7 @@ package body Ada.Streams.Stream_IO is
    -- Set_Mode --
    --------------
 
-   procedure Set_Mode (File : in out File_Type; Mode : in File_Mode) is
+   procedure Set_Mode (File : in out File_Type; Mode : File_Mode) is
    begin
       FIO.Check_File_Open (AP (File));
 
@@ -382,7 +382,7 @@ package body Ada.Streams.Stream_IO is
    -- Set_Position --
    ------------------
 
-   procedure Set_Position (File : in File_Type) is
+   procedure Set_Position (File : File_Type) is
       use type System.CRTL.long;
    begin
       if fseek (File.Stream,
@@ -396,7 +396,7 @@ package body Ada.Streams.Stream_IO is
    -- Size --
    ----------
 
-   function Size (File : in File_Type) return Count is
+   function Size (File : File_Type) return Count is
    begin
       FIO.Check_File_Open (AP (File));
 
@@ -417,7 +417,7 @@ package body Ada.Streams.Stream_IO is
    -- Stream --
    ------------
 
-   function Stream (File : in File_Type) return Stream_Access is
+   function Stream (File : File_Type) return Stream_Access is
    begin
       FIO.Check_File_Open (AP (File));
       return Stream_Access (File);
@@ -428,16 +428,19 @@ package body Ada.Streams.Stream_IO is
    -----------
 
    procedure Write
-     (File : in File_Type;
-      Item : in Stream_Element_Array;
-      To   : in Positive_Count)
+     (File : File_Type;
+      Item : Stream_Element_Array;
+      To   : Positive_Count)
    is
    begin
       Set_Index (File, To);
       Write (File, Item);
    end Write;
 
-   procedure Write (File : in File_Type; Item : in Stream_Element_Array) is
+   procedure Write
+     (File : File_Type;
+      Item : Stream_Element_Array)
+   is
    begin
       FIO.Check_Write_Status (AP (File));
 
@@ -474,7 +477,7 @@ package body Ada.Streams.Stream_IO is
 
    procedure Write
      (File : in out Stream_AFCB;
-      Item : in Ada.Streams.Stream_Element_Array)
+      Item : Ada.Streams.Stream_Element_Array)
    is
    begin
       Write (File'Unchecked_Access, Item);
index be24f0dec4fcadbebcae142f53e47b64db1af037..232672985d57f410ffe38abea3062921be866858 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -67,64 +67,64 @@ package Ada.Streams.Stream_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in File_Mode := Out_File;
-      Name : in String := "";
-      Form : in String := "");
+      Mode : File_Mode := Out_File;
+      Name : String := "";
+      Form : String := "");
 
    procedure Open
      (File : in out File_Type;
-      Mode : in File_Mode;
-      Name : in String;
-      Form : in String := "");
+      Mode : File_Mode;
+      Name : String;
+      Form : String := "");
 
    procedure Close  (File : in out File_Type);
    procedure Delete (File : in out File_Type);
-   procedure Reset  (File : in out File_Type; Mode : in File_Mode);
+   procedure Reset  (File : in out File_Type; Mode : File_Mode);
    procedure Reset  (File : in out File_Type);
 
-   function Mode (File : in File_Type) return File_Mode;
-   function Name (File : in File_Type) return String;
-   function Form (File : in File_Type) return String;
+   function Mode (File : File_Type) return File_Mode;
+   function Name (File : File_Type) return String;
+   function Form (File : File_Type) return String;
 
-   function Is_Open     (File : in File_Type) return Boolean;
-   function End_Of_File (File : in File_Type) return Boolean;
+   function Is_Open     (File : File_Type) return Boolean;
+   function End_Of_File (File : File_Type) return Boolean;
 
-   function Stream (File : in File_Type) return Stream_Access;
+   function Stream (File : File_Type) return Stream_Access;
 
    -----------------------------
    -- Input-Output Operations --
    -----------------------------
 
    procedure Read
-     (File : in  File_Type;
+     (File : File_Type;
       Item : out Stream_Element_Array;
       Last : out Stream_Element_Offset;
-      From : in  Positive_Count);
+      From : Positive_Count);
 
    procedure Read
-     (File : in  File_Type;
+     (File : File_Type;
       Item : out Stream_Element_Array;
       Last : out Stream_Element_Offset);
 
    procedure Write
-     (File : in File_Type;
-      Item : in Stream_Element_Array;
-      To   : in Positive_Count);
+     (File : File_Type;
+      Item : Stream_Element_Array;
+      To   : Positive_Count);
 
    procedure Write
-     (File : in File_Type;
-      Item : in Stream_Element_Array);
+     (File : File_Type;
+      Item : Stream_Element_Array);
 
    ----------------------------------------
    -- Operations on Position within File --
    ----------------------------------------
 
-   procedure Set_Index (File : in File_Type; To : in Positive_Count);
+   procedure Set_Index (File : File_Type; To : Positive_Count);
 
-   function Index (File : in File_Type) return Positive_Count;
-   function Size  (File : in File_Type) return Count;
+   function Index (File : File_Type) return Positive_Count;
+   function Size  (File : File_Type) return Count;
 
-   procedure Set_Mode (File : in out File_Type; Mode : in File_Mode);
+   procedure Set_Mode (File : in out File_Type; Mode : File_Mode);
 
    --  Note: The parameter file is IN OUT in the RM, but this is clearly
    --  an oversight, and was intended to be IN, see AI95-00057.
@@ -187,7 +187,7 @@ private
 
    procedure Write
      (File : in out Stream_AFCB;
-      Item : in Ada.Streams.Stream_Element_Array);
+      Item : Ada.Streams.Stream_Element_Array);
    --  Write operation used when Stream_IO file is treated directly as Stream
 
 end Ada.Streams.Stream_IO;
index d56fb11ca8ba6f213d56117066b94246e239c7dd..d1f27e5b4b04d1213b5ee882ada2e237a4135ebd 100644 (file)
@@ -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- --
@@ -148,7 +148,7 @@ package body Ada.Strings.Wide_Maps is
 
    --  The sorted, discontiguous form is canonical, so equality can be used
 
-   function "=" (Left, Right : in Wide_Character_Set) return Boolean is
+   function "=" (Left, Right : Wide_Character_Set) return Boolean is
    begin
       return Left.Set.all = Right.Set.all;
    end "=";
@@ -556,7 +556,7 @@ package body Ada.Strings.Wide_Maps is
    ---------------
 
    function To_Ranges
-     (Set :  in Wide_Character_Set) return Wide_Character_Ranges
+     (Set : Wide_Character_Set) return Wide_Character_Ranges
    is
    begin
       return Set.Set.all;
@@ -643,7 +643,7 @@ package body Ada.Strings.Wide_Maps is
          end if;
       end loop;
 
-      if Result (N).High < Result (N).Low then
+      if N > 0 and then Result (N).High < Result (N).Low then
          N := N - 1;
       end if;
 
index e63ac3169dfe497229e6e86eba0e1954ca054d4f..812de22b2bd7cc7d9da0b7f4cb1f2c907b4e91a9 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -69,13 +69,13 @@ package Ada.Strings.Wide_Maps is
      (Span : Wide_Character_Range) return Wide_Character_Set;
 
    function To_Ranges
-     (Set :  in Wide_Character_Set) return Wide_Character_Ranges;
+     (Set : Wide_Character_Set) return Wide_Character_Ranges;
 
    ---------------------------------------
    -- Operations on Wide Character Sets --
    ---------------------------------------
 
-   function "=" (Left, Right : in Wide_Character_Set) return Boolean;
+   function "=" (Left, Right : Wide_Character_Set) return Boolean;
 
    function "not"
      (Right : Wide_Character_Set) return Wide_Character_Set;
index f2be824df0fd74aa149efbd578f69c47e106e277..b0c67abba1edc3348ff23535bbf979055356c3c3 100644 (file)
@@ -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- --
@@ -130,8 +130,8 @@ package body Ada.Strings.Wide_Search is
    end Count;
 
    function Count
-     (Source : in Wide_String;
-      Set : Wide_Maps.Wide_Character_Set) return Natural
+     (Source : Wide_String;
+      Set    : Wide_Maps.Wide_Character_Set) return Natural
    is
       N : Natural := 0;
 
index 35a03853fde74e61cf825d3b8ba83b91bf84b89f..1573c6fdfb7de3901ecd1f42d0eddfd5ff4eabab 100644 (file)
@@ -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- --
@@ -148,7 +148,7 @@ package body Ada.Strings.Wide_Wide_Maps is
 
    --  The sorted, discontiguous form is canonical, so equality can be used
 
-   function "=" (Left, Right : in Wide_Wide_Character_Set) return Boolean is
+   function "=" (Left, Right : Wide_Wide_Character_Set) return Boolean is
    begin
       return Left.Set.all = Right.Set.all;
    end "=";
@@ -559,7 +559,7 @@ package body Ada.Strings.Wide_Wide_Maps is
    ---------------
 
    function To_Ranges
-     (Set :  in Wide_Wide_Character_Set) return Wide_Wide_Character_Ranges
+     (Set : Wide_Wide_Character_Set) return Wide_Wide_Character_Ranges
    is
    begin
       return Set.Set.all;
index b69357af4c0661b5828ba7ad67fd2d5f9c7276cb..d79b0f9844b3709d8431104f69b807171eadc279 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -75,7 +75,7 @@ package Ada.Strings.Wide_Wide_Maps is
    -- Operations on Wide Character Sets --
    ---------------------------------------
 
-   function "=" (Left, Right : in Wide_Wide_Character_Set) return Boolean;
+   function "=" (Left, Right : Wide_Wide_Character_Set) return Boolean;
 
    function "not"
      (Right : Wide_Wide_Character_Set) return Wide_Wide_Character_Set;
index 76174b67c77b91bb2256abdb696d3e93ad952f06..a07196c3888d0498aac242af9b1d7f52d0be08e5 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -39,7 +39,7 @@ with Ada.Task_Identification;
 
 generic
    type Attribute is private;
-   Initial_Value : in Attribute;
+   Initial_Value : Attribute;
 
 package Ada.Task_Attributes is
 
@@ -47,13 +47,11 @@ package Ada.Task_Attributes is
 
    function Value
      (T    : Ada.Task_Identification.Task_Id :=
-               Ada.Task_Identification.Current_Task)
-      return Attribute;
+               Ada.Task_Identification.Current_Task) return Attribute;
 
    function Reference
      (T    : Ada.Task_Identification.Task_Id :=
-               Ada.Task_Identification.Current_Task)
-      return Attribute_Handle;
+               Ada.Task_Identification.Current_Task) return Attribute_Handle;
 
    procedure Set_Value
      (Val : Attribute;
index b4280c370ad403c3cd37a54ed1ab7a6bf31dec25..5f84c7241ef6b71309a5076d398fa1dbb8d4b4f5 100644 (file)
@@ -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- --
@@ -42,7 +42,7 @@ package body Ada.Text_IO.Editing is
    -- Blank_When_Zero --
    ---------------------
 
-   function Blank_When_Zero (Pic : in Picture) return Boolean is
+   function Blank_When_Zero (Pic : Picture) return Boolean is
    begin
       return Pic.Contents.Original_BWZ;
    end Blank_When_Zero;
@@ -51,7 +51,7 @@ package body Ada.Text_IO.Editing is
    -- Expand --
    ------------
 
-   function Expand (Picture : in String) return String is
+   function Expand (Picture : String) return String is
       Result        : String (1 .. MAX_PICSIZE);
       Picture_Index : Integer := Picture'First;
       Result_Index  : Integer := Result'First;
@@ -124,8 +124,7 @@ package body Ada.Text_IO.Editing is
       Currency_Symbol     : String;
       Fill_Character      : Character;
       Separator_Character : Character;
-      Radix_Point         : Character)
-      return                String
+      Radix_Point         : Character) return String
    is
       Attrs    : Number_Attributes := Parse_Number_String (Number);
       Position : Integer;
@@ -929,7 +928,7 @@ package body Ada.Text_IO.Editing is
    --  The following ensures that we return B and not b being careful not
    --  to break things which expect lower case b for blank. See CXF3A02.
 
-   function Pic_String (Pic : in Picture) return String is
+   function Pic_String (Pic : Picture) return String is
       Temp : String (1 .. Pic.Contents.Picture.Length) :=
                               Pic.Contents.Picture.Expanded;
    begin
@@ -975,7 +974,7 @@ package body Ada.Text_IO.Editing is
       procedure Debug_Start (Name : String);
       pragma Inline (Debug_Start);
 
-      procedure Debug_Integer  (Value : in Integer; S : String);
+      procedure Debug_Integer  (Value : Integer; S : String);
       pragma Inline (Debug_Integer);
 
       procedure Trailing_Currency;
@@ -1032,7 +1031,7 @@ package body Ada.Text_IO.Editing is
       -- Debug_Integer --
       -------------------
 
-      procedure Debug_Integer  (Value : in Integer; S : String) is
+      procedure Debug_Integer (Value : Integer; S : String) is
          use Ada.Text_IO; --  needed for >
 
       begin
@@ -2717,9 +2716,8 @@ package body Ada.Text_IO.Editing is
    ----------------
 
    function To_Picture
-     (Pic_String      : in String;
-      Blank_When_Zero : in Boolean := False)
-      return            Picture
+     (Pic_String      : String;
+      Blank_When_Zero : Boolean := False) return Picture
    is
       Result : Picture;
 
@@ -2745,9 +2743,8 @@ package body Ada.Text_IO.Editing is
    -----------
 
    function Valid
-     (Pic_String      : in String;
-      Blank_When_Zero : in Boolean := False)
-      return            Boolean
+     (Pic_String      : String;
+      Blank_When_Zero : Boolean := False) return Boolean
    is
    begin
       declare
@@ -2764,8 +2761,8 @@ package body Ada.Text_IO.Editing is
 
          --  False only if Blank_When_Zero is True but the pic string has a '*'
 
-         return not Blank_When_Zero or
-           Strings_Fixed.Index (Expanded_Pic, "*") = 0;
+         return not Blank_When_Zero
+           or else Strings_Fixed.Index (Expanded_Pic, "*") = 0;
       end;
 
    exception
@@ -2783,13 +2780,12 @@ package body Ada.Text_IO.Editing is
       -----------
 
       function Image
-        (Item       : in Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark)
-         return       String
+        (Item       : Num;
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark) return String
       is
       begin
          return Format_Number
@@ -2802,9 +2798,8 @@ package body Ada.Text_IO.Editing is
       ------------
 
       function Length
-        (Pic      : in Picture;
-         Currency : in String := Default_Currency)
-         return     Natural
+        (Pic      : Picture;
+         Currency : String := Default_Currency) return Natural
       is
          Picstr     : constant String := Pic_String (Pic);
          V_Adjust   : Integer := 0;
@@ -2836,13 +2831,13 @@ package body Ada.Text_IO.Editing is
       ---------
 
       procedure Put
-        (File       : in Text_IO.File_Type;
-         Item       : in Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark)
+        (File       : Text_IO.File_Type;
+         Item       : Num;
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark)
       is
       begin
          Text_IO.Put (File, Image (Item, Pic,
@@ -2850,12 +2845,12 @@ package body Ada.Text_IO.Editing is
       end Put;
 
       procedure Put
-        (Item       : in Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark)
+        (Item       : Num;
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark)
       is
       begin
          Text_IO.Put (Image (Item, Pic,
@@ -2864,12 +2859,12 @@ package body Ada.Text_IO.Editing is
 
       procedure Put
         (To         : out String;
-         Item       : in Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark)
+         Item       : Num;
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark)
       is
          Result : constant String :=
            Image (Item, Pic, Currency, Fill, Separator, Radix_Mark);
@@ -2889,9 +2884,8 @@ package body Ada.Text_IO.Editing is
 
       function Valid
         (Item     : Num;
-         Pic      : in Picture;
-         Currency : in String := Default_Currency)
-         return     Boolean
+         Pic      : Picture;
+         Currency : String := Default_Currency) return Boolean
       is
       begin
          declare
index fb324ed86b6e52cb75a5f0c6836dd5d7d0a792b3..b2c34121ada41b9fbedf057d94677b0a7416672a 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -40,17 +40,15 @@ package Ada.Text_IO.Editing is
    type Picture is private;
 
    function Valid
-     (Pic_String      : in String;
-      Blank_When_Zero : in Boolean := False)
-      return            Boolean;
+     (Pic_String      : String;
+      Blank_When_Zero : Boolean := False) return Boolean;
 
    function To_Picture
-     (Pic_String      : in String;
-      Blank_When_Zero : in Boolean := False)
-      return            Picture;
+     (Pic_String      : String;
+      Blank_When_Zero : Boolean := False) return Picture;
 
-   function Pic_String      (Pic : in Picture) return String;
-   function Blank_When_Zero (Pic : in Picture) return Boolean;
+   function Pic_String      (Pic : Picture) return String;
+   function Blank_When_Zero (Pic : Picture) return Boolean;
 
    Max_Picture_Length : constant := 64;
 
@@ -63,58 +61,55 @@ package Ada.Text_IO.Editing is
 
    generic
       type Num is delta <> digits <>;
-      Default_Currency   : in String := Editing.Default_Currency;
-      Default_Fill       : in Character := Editing.Default_Fill;
-      Default_Separator  : in Character := Editing.Default_Separator;
-      Default_Radix_Mark : in Character := Editing.Default_Radix_Mark;
+      Default_Currency   : String := Editing.Default_Currency;
+      Default_Fill       : Character := Editing.Default_Fill;
+      Default_Separator  : Character := Editing.Default_Separator;
+      Default_Radix_Mark : Character := Editing.Default_Radix_Mark;
 
    package Decimal_Output is
 
       function Length
-        (Pic      : in Picture;
-         Currency : in String := Default_Currency)
-         return     Natural;
+        (Pic      : Picture;
+         Currency : String := Default_Currency) return Natural;
 
       function Valid
         (Item     : Num;
-         Pic      : in Picture;
-         Currency : in String := Default_Currency)
-         return     Boolean;
+         Pic      : Picture;
+         Currency : String := Default_Currency) return Boolean;
 
       function Image
         (Item       : Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark)
-         return       String;
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark) return String;
 
       procedure Put
-        (File       : in Ada.Text_IO.File_Type;
+        (File       : Ada.Text_IO.File_Type;
          Item       : Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark);
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark);
 
       procedure Put
         (Item       : Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark);
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark);
 
       procedure Put
         (To         : out String;
          Item       : Num;
-         Pic        : in Picture;
-         Currency   : in String    := Default_Currency;
-         Fill       : in Character := Default_Fill;
-         Separator  : in Character := Default_Separator;
-         Radix_Mark : in Character := Default_Radix_Mark);
+         Pic        : Picture;
+         Currency   : String    := Default_Currency;
+         Fill       : Character := Default_Fill;
+         Separator  : Character := Default_Separator;
+         Radix_Mark : Character := Default_Radix_Mark);
 
    end Decimal_Output;
 
@@ -193,10 +188,9 @@ private
       Currency_Symbol     : String;
       Fill_Character      : Character;
       Separator_Character : Character;
-      Radix_Point         : Character)
-      return                String;
+      Radix_Point         : Character) return String;
    --  Formats number according to Pic
 
-   function Expand (Picture : in String) return String;
+   function Expand (Picture : String) return String;
 
 end Ada.Text_IO.Editing;
index 9d54320237721d286e00b8bc0c3759334cc3002c..546ba298962ab28b8c39d5b441953803c9ba8a75 100644 (file)
@@ -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- --
@@ -45,7 +45,7 @@ package body Ada.Text_IO.Complex_Aux is
    ---------
 
    procedure Get
-     (File  : in  File_Type;
+     (File  : File_Type;
       ItemR : out Long_Long_Float;
       ItemI : out Long_Long_Float;
       Width : Field)
@@ -96,7 +96,7 @@ package body Ada.Text_IO.Complex_Aux is
    ----------
 
    procedure Gets
-     (From  : in  String;
+     (From  : String;
       ItemR : out Long_Long_Float;
       ItemI : out Long_Long_Float;
       Last  : out Positive)
@@ -163,8 +163,8 @@ package body Ada.Text_IO.Complex_Aux is
      (To    : out String;
       ItemR : Long_Long_Float;
       ItemI : Long_Long_Float;
-      Aft   : in  Field;
-      Exp   : in  Field)
+      Aft   : Field;
+      Exp   : Field)
    is
       I_String : String (1 .. 3 * Field'Last);
       R_String : String (1 .. 3 * Field'Last);
index c91804a0644b33df46bf72a7d8b6d6bc311f5ab6..acad607caceda611713328e87a94faaa5fa9b62b 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -42,7 +42,7 @@
 package Ada.Text_IO.Complex_Aux is
 
    procedure Get
-     (File  : in  File_Type;
+     (File  : File_Type;
       ItemR : out Long_Long_Float;
       ItemI : out Long_Long_Float;
       Width : Field);
index f620945775ae2fce711d7cae7369c56ec7158a02..90ab4e37882dbbb4fef8a783f8c1abdd13f98dc4 100644 (file)
@@ -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- --
@@ -37,6 +37,8 @@ with Ada.Text_IO.Complex_Aux;
 
 package body Ada.Text_IO.Complex_IO is
 
+   use Complex_Types;
+
    package Aux renames Ada.Text_IO.Complex_Aux;
 
    subtype LLF is Long_Long_Float;
@@ -47,12 +49,12 @@ package body Ada.Text_IO.Complex_IO is
    ---------
 
    procedure Get
-     (File  : in  File_Type;
+     (File  : File_Type;
       Item  : out Complex_Types.Complex;
-      Width : in  Field := 0)
+      Width : Field := 0)
    is
-      Real_Item  : Real'Base;
-      Imag_Item  : Real'Base;
+      Real_Item : Real'Base;
+      Imag_Item : Real'Base;
 
    begin
       Aux.Get (File, LLF (Real_Item), LLF (Imag_Item), Width);
@@ -68,7 +70,7 @@ package body Ada.Text_IO.Complex_IO is
 
    procedure Get
      (Item  : out Complex_Types.Complex;
-      Width : in  Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_In, Item, Width);
@@ -79,7 +81,7 @@ package body Ada.Text_IO.Complex_IO is
    ---------
 
    procedure Get
-     (From : in  String;
+     (From : String;
       Item : out Complex_Types.Complex;
       Last : out Positive)
    is
@@ -99,11 +101,11 @@ package body Ada.Text_IO.Complex_IO is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Complex_Types.Complex;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (File : File_Type;
+      Item : Complex_Types.Complex;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Put (File, LLF (Re (Item)), LLF (Im (Item)), Fore, Aft, Exp);
@@ -114,10 +116,10 @@ package body Ada.Text_IO.Complex_IO is
    ---------
 
    procedure Put
-     (Item : in Complex_Types.Complex;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (Item : Complex_Types.Complex;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Put (Current_Out, Item, Fore, Aft, Exp);
@@ -129,9 +131,9 @@ package body Ada.Text_IO.Complex_IO is
 
    procedure Put
      (To   : out String;
-      Item : in  Complex_Types.Complex;
-      Aft  : in  Field := Default_Aft;
-      Exp  : in  Field := Default_Exp)
+      Item : Complex_Types.Complex;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Puts (To, LLF (Re (Item)), LLF (Im (Item)), Aft, Exp);
index 82ed84927632b5182fc92a1183514b13942ffc5f..5be5f66f074018eccab209bd9d680d83b1819465 100644 (file)
@@ -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- --
@@ -46,10 +46,9 @@ package body Ada.Text_IO.Decimal_Aux is
    -------------
 
    function Get_Dec
-     (File   : in File_Type;
-      Width  : in Field;
-      Scale  : Integer)
-      return   Integer
+     (File  : File_Type;
+      Width : Field;
+      Scale : Integer) return Integer
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer;
@@ -75,10 +74,9 @@ package body Ada.Text_IO.Decimal_Aux is
    -------------
 
    function Get_LLD
-     (File   : in File_Type;
-      Width  : in Field;
-      Scale  : Integer)
-      return   Long_Long_Integer
+     (File  : File_Type;
+      Width : Field;
+      Scale : Integer) return Long_Long_Integer
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer;
@@ -104,10 +102,9 @@ package body Ada.Text_IO.Decimal_Aux is
    --------------
 
    function Gets_Dec
-     (From  : in String;
+     (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Integer
+      Scale : Integer) return Integer
    is
       Pos  : aliased Integer;
       Item : Integer;
@@ -129,10 +126,9 @@ package body Ada.Text_IO.Decimal_Aux is
    --------------
 
    function Gets_LLD
-     (From  : in String;
+     (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Long_Long_Integer
+      Scale : Integer) return Long_Long_Integer
    is
       Pos  : aliased Integer;
       Item : Long_Long_Integer;
@@ -154,11 +150,11 @@ package body Ada.Text_IO.Decimal_Aux is
    -------------
 
    procedure Put_Dec
-     (File  : in File_Type;
-      Item  : in Integer;
-      Fore  : in Field;
-      Aft   : in Field;
-      Exp   : in Field;
+     (File  : File_Type;
+      Item  : Integer;
+      Fore  : Field;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer)
    is
       Buf : String (1 .. Field'Last);
@@ -174,11 +170,11 @@ package body Ada.Text_IO.Decimal_Aux is
    -------------
 
    procedure Put_LLD
-     (File  : in File_Type;
-      Item  : in Long_Long_Integer;
-      Fore  : in Field;
-      Aft   : in Field;
-      Exp   : in Field;
+     (File  : File_Type;
+      Item  : Long_Long_Integer;
+      Fore  : Field;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer)
    is
       Buf : String (1 .. Field'Last);
@@ -195,9 +191,9 @@ package body Ada.Text_IO.Decimal_Aux is
 
    procedure Puts_Dec
      (To    : out String;
-      Item  : in Integer;
-      Aft   : in Field;
-      Exp   : in Field;
+      Item  : Integer;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer)
    is
       Buf  : String (1 .. Field'Last);
@@ -230,9 +226,9 @@ package body Ada.Text_IO.Decimal_Aux is
 
    procedure Puts_LLD
      (To    : out String;
-      Item  : in Long_Long_Integer;
-      Aft   : in Field;
-      Exp   : in Field;
+      Item  : Long_Long_Integer;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer)
    is
       Buf  : String (1 .. Field'Last);
index 65ddeb79ce7cb3e5baefd39c95041699bbe39e32..9855e5b423710ff0e9c565369efe3b9ea508df14 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
 private package Ada.Text_IO.Decimal_Aux is
 
    function Get_Dec
-     (File  : in File_Type;
-      Width : in Field;
-      Scale : Integer)
-      return  Integer;
+     (File  : File_Type;
+      Width : Field;
+      Scale : Integer) return Integer;
 
    function Get_LLD
-     (File  : in File_Type;
-      Width : in Field;
-      Scale : Integer)
-      return  Long_Long_Integer;
+     (File  : File_Type;
+      Width : Field;
+      Scale : Integer) return Long_Long_Integer;
 
    procedure Put_Dec
      (File  : File_Type;
       Item  : Integer;
-      Fore : in Field;
-      Aft  : in Field;
-      Exp  : in Field;
+      Fore  : Field;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer);
 
    procedure Put_LLD
-     (File  : in File_Type;
-      Item  : in Long_Long_Integer;
-      Fore : in Field;
-      Aft  : in Field;
-      Exp  : in Field;
+     (File  : File_Type;
+      Item  : Long_Long_Integer;
+      Fore  : Field;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer);
 
    function Gets_Dec
-     (From  : in String;
+     (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Integer;
+      Scale : Integer) return Integer;
 
    function Gets_LLD
-     (From  : in String;
+     (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Long_Long_Integer;
+      Scale : Integer) return Long_Long_Integer;
 
    procedure Puts_Dec
      (To    : out String;
-      Item  : in Integer;
-      Aft   : in Field;
-      Exp   : in Field;
+      Item  : Integer;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer);
 
    procedure Puts_LLD
      (To    : out String;
-      Item  : in Long_Long_Integer;
-      Aft   : in Field;
-      Exp   : in Field;
+      Item  : Long_Long_Integer;
+      Aft   : Field;
+      Exp   : Field;
       Scale : Integer);
 
 end Ada.Text_IO.Decimal_Aux;
index 3f9450250421cee7625ea7b639ace2cc43e4028a..05d2c03000c9777833d95049d6f9570fc9e8e39e 100644 (file)
@@ -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- --
@@ -44,9 +44,9 @@ package body Ada.Text_IO.Decimal_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       pragma Unsuppress (Range_Check);
 
@@ -64,14 +64,14 @@ package body Ada.Text_IO.Decimal_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_In, Item, Width);
    end Get;
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive)
    is
@@ -95,11 +95,11 @@ package body Ada.Text_IO.Decimal_IO is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       if Num'Size > Integer'Size then
@@ -113,10 +113,10 @@ package body Ada.Text_IO.Decimal_IO is
    end Put;
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Put (Current_Out, Item, Fore, Aft, Exp);
@@ -124,9 +124,9 @@ package body Ada.Text_IO.Decimal_IO is
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       if Num'Size > Integer'Size then
index de1b02b04ac2264b3ea0b8eb870d7c9a5f96140d..6e2714131616eb72e3f4f7ba21be265ebbd24c5f 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -51,37 +51,37 @@ package Ada.Text_IO.Decimal_IO is
    Default_Exp  : Field := 0;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
 private
    pragma Inline (Get);
index 3e6506cfac71c9c2367187540865c2c9b0d56e42..aadb479ec7e16aed3cd443b1d2d32cbb77316ed8 100644 (file)
@@ -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- --
@@ -154,9 +154,9 @@ package body Ada.Text_IO.Enumeration_Aux is
    ----------
 
    procedure Puts
-     (To    : out String;
-      Item  : in String;
-      Set   : Type_Set)
+     (To   : out String;
+      Item : String;
+      Set  : Type_Set)
    is
       Ptr : Natural;
 
index 00747d50f60f41a43bbc27ae3dbfa542ef1c9c6c..777a6f931756e87502a9dce4b56b87f15429d2e7 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
@@ -62,9 +62,9 @@ private package Ada.Text_IO.Enumeration_Aux is
    --  using the given Width and Set parameters (Item is always in upper case).
 
    procedure Puts
-     (To    : out String;
-      Item  : in String;
-      Set   : Type_Set);
+     (To   : out String;
+      Item : String;
+      Set  : Type_Set);
    --  Stores the enumeration literal image stored in Item to the string To,
    --  padding with trailing spaces if necessary to fill To. Set is used to
 
index 4d1bdedd44c624098f36d9995c41db999601f9d1..6ff484dd3fd735d5e950d6a266543f8f1261d296 100644 (file)
@@ -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- --
@@ -41,7 +41,7 @@ package body Ada.Text_IO.Enumeration_IO is
    -- Get --
    ---------
 
-   procedure Get (File : in File_Type; Item : out Enum) is
+   procedure Get (File : File_Type; Item : out Enum) is
       Buf    : String (1 .. Enum'Width);
       Buflen : Natural;
 
@@ -67,7 +67,7 @@ package body Ada.Text_IO.Enumeration_IO is
    end Get;
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Enum;
       Last : out Positive)
    is
@@ -92,10 +92,10 @@ package body Ada.Text_IO.Enumeration_IO is
    ---------
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting)
+     (File  : File_Type;
+      Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting)
    is
       Image : constant String := Enum'Image (Item);
 
@@ -104,9 +104,9 @@ package body Ada.Text_IO.Enumeration_IO is
    end Put;
 
    procedure Put
-     (Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting)
+     (Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting)
    is
    begin
       Put (Current_Out, Item, Width, Set);
@@ -114,8 +114,8 @@ package body Ada.Text_IO.Enumeration_IO is
 
    procedure Put
      (To   : out String;
-      Item : in Enum;
-      Set  : in Type_Set := Default_Setting)
+      Item : Enum;
+      Set  : Type_Set := Default_Setting)
    is
       Image : constant String := Enum'Image (Item);
 
index 4bb146caa73b8ea7bd71adc567154d57778957da..430a9f6647aaf3643940bd75d7fc64d119562e23 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2000 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -50,28 +50,28 @@ package Ada.Text_IO.Enumeration_IO is
    Default_Width : Field := 0;
    Default_Setting : Type_Set := Upper_Case;
 
-   procedure Get (File : in File_Type; Item : out Enum);
+   procedure Get (File : File_Type; Item : out Enum);
    procedure Get (Item : out Enum);
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting);
+     (File  : File_Type;
+      Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting);
 
    procedure Put
-     (Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting);
+     (Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting);
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Enum;
       Last : out Positive);
 
    procedure Put
      (To   : out String;
-      Item : in Enum;
-      Set  : in Type_Set := Default_Setting);
+      Item : Enum;
+      Set  : Type_Set := Default_Setting);
 
 end Ada.Text_IO.Enumeration_IO;
index b0d91874a255bda34445233753cbe0c277fa4e26..26fa95e357337bba546c10175a843fe8aab3c91d 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -51,37 +51,37 @@ package Ada.Text_IO.Fixed_IO is
    Default_Exp  : Field := 0;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
 private
    pragma Inline (Get);
index 21ee426beaafc14da5b58cde3ba8a91a2afa4553..d0fe1e153ee7e1a59ae70e109ce92372fc7faee3 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2003 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- --
@@ -33,8 +33,8 @@
 
 with Ada.Text_IO.Generic_Aux; use Ada.Text_IO.Generic_Aux;
 
-with System.Img_Real;  use System.Img_Real;
-with System.Val_Real;  use System.Val_Real;
+with System.Img_Real; use System.Img_Real;
+with System.Val_Real; use System.Val_Real;
 
 package body Ada.Text_IO.Float_Aux is
 
@@ -43,9 +43,9 @@ package body Ada.Text_IO.Float_Aux is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Float;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Stop : Integer := 0;
@@ -69,7 +69,7 @@ package body Ada.Text_IO.Float_Aux is
    ----------
 
    procedure Gets
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Float;
       Last : out Positive)
    is
@@ -90,7 +90,7 @@ package body Ada.Text_IO.Float_Aux is
    ---------------
 
    procedure Load_Real
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural)
    is
@@ -181,11 +181,11 @@ package body Ada.Text_IO.Float_Aux is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Long_Long_Float;
-      Fore : in Field;
-      Aft  : in Field;
-      Exp  : in Field)
+     (File : File_Type;
+      Item : Long_Long_Float;
+      Fore : Field;
+      Aft  : Field;
+      Exp  : Field)
    is
       Buf : String (1 .. 3 * Field'Last + 2);
       Ptr : Natural := 0;
@@ -201,9 +201,9 @@ package body Ada.Text_IO.Float_Aux is
 
    procedure Puts
      (To   : out String;
-      Item : in Long_Long_Float;
-      Aft  : in Field;
-      Exp  : in Field)
+      Item : Long_Long_Float;
+      Aft  : Field;
+      Exp  : Field)
    is
       Buf : String (1 .. 3 * Field'Last + 2);
       Ptr : Natural := 0;
index 12928d30417e76026466378c055ec4b10ce0277a..41e6b673448960b469ce9a9ad308c904e675ead2 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
 private package Ada.Text_IO.Float_Aux is
 
    procedure Load_Real
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural);
    --  This is an auxiliary routine that is used to load a possibly signed
    --  real literal value from the input file into Buf, starting at Ptr + 1.
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Float;
-      Width : in Field);
+      Width : Field);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Long_Long_Float;
-      Fore : in Field;
-      Aft  : in Field;
-      Exp  : in Field);
+     (File : File_Type;
+      Item : Long_Long_Float;
+      Fore : Field;
+      Aft  : Field;
+      Exp  : Field);
 
    procedure Gets
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Float;
       Last : out Positive);
 
    procedure Puts
      (To   : out String;
-      Item : in Long_Long_Float;
-      Aft  : in Field;
-      Exp  : in Field);
+      Item : Long_Long_Float;
+      Aft  : Field;
+      Exp  : Field);
 
 end Ada.Text_IO.Float_Aux;
index 3961a65f1c851c3fbac6cd60b0e9320edbf8cc26..5a776a44a7746f7d528f5bb1e87484c35810182b 100644 (file)
@@ -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- --
@@ -42,9 +42,9 @@ package body Ada.Text_IO.Float_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       pragma Unsuppress (Range_Check);
 
@@ -66,7 +66,7 @@ package body Ada.Text_IO.Float_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       pragma Unsuppress (Range_Check);
 
@@ -87,7 +87,7 @@ package body Ada.Text_IO.Float_IO is
    end Get;
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive)
    is
@@ -114,21 +114,21 @@ package body Ada.Text_IO.Float_IO is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Put (File, Long_Long_Float (Item), Fore, Aft, Exp);
    end Put;
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Put (Current_Out, Long_Long_Float (Item), Fore, Aft, Exp);
@@ -136,9 +136,9 @@ package body Ada.Text_IO.Float_IO is
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Puts (To, Long_Long_Float (Item), Aft, Exp);
index 791867f4567f68d0fddf08646f24722c0cb4dae5..51145833fe517a93f951cdc3d97b5aa060d0af71 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -51,37 +51,37 @@ package Ada.Text_IO.Float_IO is
    Default_Exp  : Field := 3;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
 private
    pragma Inline (Get);
index 3803e9a238596348f7d1cabfad6eadcc943d5f23..786b7556d33ba4095d2f51b3cb53845abd1e29ac 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -80,7 +80,7 @@ private package Ada.Text_IO.Generic_Aux is
 
    procedure Load_Width
      (File  : File_Type;
-      Width : in Field;
+      Width : Field;
       Buf   : out String;
       Ptr   : in out Integer);
    --  Loads exactly Width characters, unless a line mark is encountered first
index e5f24e32d12e5567294476ea97e1035e8e40fb9d..38be55fa655af501a07002dceb3df0b8a9c27076 100644 (file)
@@ -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- --
@@ -49,7 +49,7 @@ package body Ada.Text_IO.Integer_Aux is
    -----------------------
 
    procedure Load_Integer
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural);
    --  This is an auxiliary routine that is used to load a possibly signed
@@ -61,9 +61,9 @@ package body Ada.Text_IO.Integer_Aux is
    -------------
 
    procedure Get_Int
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Integer;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer := 1;
@@ -86,9 +86,9 @@ package body Ada.Text_IO.Integer_Aux is
    -------------
 
    procedure Get_LLI
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Integer;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer := 1;
@@ -111,7 +111,7 @@ package body Ada.Text_IO.Integer_Aux is
    --------------
 
    procedure Gets_Int
-     (From : in String;
+     (From : String;
       Item : out Integer;
       Last : out Positive)
    is
@@ -132,7 +132,7 @@ package body Ada.Text_IO.Integer_Aux is
    --------------
 
    procedure Gets_LLI
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Integer;
       Last : out Positive)
    is
@@ -153,7 +153,7 @@ package body Ada.Text_IO.Integer_Aux is
    ------------------
 
    procedure Load_Integer
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural)
    is
@@ -198,10 +198,10 @@ package body Ada.Text_IO.Integer_Aux is
    -------------
 
    procedure Put_Int
-     (File  : in File_Type;
-      Item  : in Integer;
-      Width : in Field;
-      Base  : in Number_Base)
+     (File  : File_Type;
+      Item  : Integer;
+      Width : Field;
+      Base  : Number_Base)
    is
       Buf : String (1 .. Integer'Max (Field'Last, Width));
       Ptr : Natural := 0;
@@ -223,10 +223,10 @@ package body Ada.Text_IO.Integer_Aux is
    -------------
 
    procedure Put_LLI
-     (File  : in File_Type;
-      Item  : in Long_Long_Integer;
-      Width : in Field;
-      Base  : in Number_Base)
+     (File  : File_Type;
+      Item  : Long_Long_Integer;
+      Width : Field;
+      Base  : Number_Base)
    is
       Buf : String (1 .. Integer'Max (Field'Last, Width));
       Ptr : Natural := 0;
@@ -249,8 +249,8 @@ package body Ada.Text_IO.Integer_Aux is
 
    procedure Puts_Int
      (To   : out String;
-      Item : in Integer;
-      Base : in Number_Base)
+      Item : Integer;
+      Base : Number_Base)
    is
       Buf : String (1 .. Integer'Max (Field'Last, To'Length));
       Ptr : Natural := 0;
@@ -275,8 +275,8 @@ package body Ada.Text_IO.Integer_Aux is
 
    procedure Puts_LLI
      (To   : out String;
-      Item : in Long_Long_Integer;
-      Base : in Number_Base)
+      Item : Long_Long_Integer;
+      Base : Number_Base)
    is
       Buf : String (1 .. Integer'Max (Field'Last, To'Length));
       Ptr : Natural := 0;
index 4fbedc96f212eba2b0a4766cb4988eb5b43e694d..98bd55d8ad6748b4c0ae923c9217891acfcf4a5b 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
 private package Ada.Text_IO.Integer_Aux is
 
    procedure Get_Int
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Integer;
-      Width : in Field);
+      Width : Field);
 
    procedure Get_LLI
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Integer;
-      Width : in Field);
+      Width : Field);
 
    procedure Put_Int
-     (File  : in File_Type;
-      Item  : in Integer;
-      Width : in Field;
-      Base  : in Number_Base);
+     (File  : File_Type;
+      Item  : Integer;
+      Width : Field;
+      Base  : Number_Base);
 
    procedure Put_LLI
-     (File  : in File_Type;
-      Item  : in Long_Long_Integer;
-      Width : in Field;
-      Base  : in Number_Base);
+     (File  : File_Type;
+      Item  : Long_Long_Integer;
+      Width : Field;
+      Base  : Number_Base);
 
    procedure Gets_Int
-     (From : in String;
+     (From : String;
       Item : out Integer;
       Last : out Positive);
 
    procedure Gets_LLI
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Integer;
       Last : out Positive);
 
    procedure Puts_Int
      (To   : out String;
-      Item : in Integer;
-      Base : in Number_Base);
+      Item : Integer;
+      Base : Number_Base);
 
    procedure Puts_LLI
      (To   : out String;
-      Item : in Long_Long_Integer;
-      Base : in Number_Base);
+      Item : Long_Long_Integer;
+      Base : Number_Base);
 
 end Ada.Text_IO.Integer_Aux;
index ea8b397b47f69773708fd746174de38276f82052..44c398f3bfb3c34c9c014a87e5066c2bf4bab80a 100644 (file)
@@ -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- --
@@ -49,9 +49,9 @@ package body Ada.Text_IO.Integer_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       --  We depend on a range check to get Data_Error
 
@@ -71,7 +71,7 @@ package body Ada.Text_IO.Integer_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       --  We depend on a range check to get Data_Error
 
@@ -90,7 +90,7 @@ package body Ada.Text_IO.Integer_IO is
    end Get;
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive)
    is
@@ -115,10 +115,10 @@ package body Ada.Text_IO.Integer_IO is
    ---------
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       if Need_LLI then
@@ -129,9 +129,9 @@ package body Ada.Text_IO.Integer_IO is
    end Put;
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       if Need_LLI then
@@ -143,8 +143,8 @@ package body Ada.Text_IO.Integer_IO is
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base)
+      Item : Num;
+      Base : Number_Base := Default_Base)
    is
    begin
       if Need_LLI then
index 9669933d6a3d19266c4979e359443e7c1b6c3f05..b0447657b3a44d0c83846b9206e37cb74e25af52 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -50,34 +50,34 @@ package Ada.Text_IO.Integer_IO is
    Default_Base  : Number_Base := 10;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base);
+      Item : Num;
+      Base : Number_Base := Default_Base);
 
 private
    pragma Inline (Get);
index afb9b5db85d9ae64ac0623ff74e21a6667fbd8b4..605e68dade5383211c959d6f96ebcf728ed610f4 100644 (file)
@@ -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- --
@@ -44,9 +44,9 @@ package body Ada.Text_IO.Modular_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       pragma Unsuppress (Range_Check);
 
@@ -63,7 +63,7 @@ package body Ada.Text_IO.Modular_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
       pragma Unsuppress (Range_Check);
 
@@ -79,7 +79,7 @@ package body Ada.Text_IO.Modular_IO is
    end Get;
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive)
    is
@@ -101,10 +101,10 @@ package body Ada.Text_IO.Modular_IO is
    ---------
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       if Num'Size > Unsigned'Size then
@@ -115,9 +115,9 @@ package body Ada.Text_IO.Modular_IO is
    end Put;
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       if Num'Size > Unsigned'Size then
@@ -129,8 +129,8 @@ package body Ada.Text_IO.Modular_IO is
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base)
+      Item : Num;
+      Base : Number_Base := Default_Base)
    is
    begin
       if Num'Size > Unsigned'Size then
index bdfa77d393a31cb3837b63abe548b56f03d35212..d1a7a15bc53e0e3c1a41c6cb1fa939a772b5f2a2 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1993-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1993-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -50,34 +50,34 @@ package Ada.Text_IO.Modular_IO is
    Default_Base  : Number_Base := 10;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Get
-     (From : in String;
+     (From : String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base);
+      Item : Num;
+      Base : Number_Base := Default_Base);
 
 private
    pragma Inline (Get);
index 98f9c0b00df2c9e8b49da70fcfa77c378e23752f..60dda6abbd72ea0e2f85f30079a07cfc06236193 100644 (file)
@@ -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- --
@@ -39,7 +39,7 @@ package body Ada.Text_IO.Text_Streams is
    -- Stream --
    ------------
 
-   function Stream (File : in File_Type) return Stream_Access is
+   function Stream (File : File_Type) return Stream_Access is
    begin
       System.File_IO.Check_File_Open (FCB.AFCB_Ptr (File));
       return Stream_Access (File);
index be4b6253fba3fb67107978e681a95b0b6dedb9c3..d2fa2e7b3f6742594d21ca5bf985d7e903df72e5 100644 (file)
@@ -18,6 +18,6 @@ package Ada.Text_IO.Text_Streams is
 
    type Stream_Access is access all Streams.Root_Stream_Type'Class;
 
-   function Stream (File : in File_Type) return Stream_Access;
+   function Stream (File : File_Type) return Stream_Access;
 
 end Ada.Text_IO.Text_Streams;
index eedbfc0ee25fe606336f612e5ee8d549b99626f2..14faf91843b55f6fa1802600a1a7ebd6cd302bd2 100644 (file)
@@ -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- --
@@ -56,9 +56,9 @@ package body Ada.Wide_Text_IO.Complex_IO is
    ---------
 
    procedure Get
-     (File  :  File_Type;
+     (File  : File_Type;
       Item  : out Complex;
-      Width :  Field := 0)
+      Width : Field := 0)
    is
       Real_Item : Real'Base;
       Imag_Item : Real'Base;
index bffe3c53f32f5779d50af6b2fdaa57fcf18f0c77..6b6286537f0f1b55a18358ab2cc632f1ba9d1d49 100644 (file)
@@ -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- --
@@ -46,10 +46,9 @@ package body Ada.Wide_Text_IO.Decimal_Aux is
    -------------
 
    function Get_Dec
-     (File   : File_Type;
-      Width  : Field;
-      Scale  : Integer)
-      return   Integer
+     (File  : File_Type;
+      Width : Field;
+      Scale : Integer) return Integer
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer;
@@ -75,10 +74,9 @@ package body Ada.Wide_Text_IO.Decimal_Aux is
    -------------
 
    function Get_LLD
-     (File   : File_Type;
-      Width  : Field;
-      Scale  : Integer)
-      return   Long_Long_Integer
+     (File  : File_Type;
+      Width : Field;
+      Scale : Integer) return Long_Long_Integer
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer;
@@ -106,8 +104,7 @@ package body Ada.Wide_Text_IO.Decimal_Aux is
    function Gets_Dec
      (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Integer
+      Scale : Integer) return Integer
    is
       Pos  : aliased Integer;
       Item : Integer;
@@ -132,8 +129,7 @@ package body Ada.Wide_Text_IO.Decimal_Aux is
    function Gets_LLD
      (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Long_Long_Integer
+      Scale : Integer) return Long_Long_Integer
    is
       Pos  : aliased Integer;
       Item : Long_Long_Integer;
index 46a25a1489a57ecdc8468a7c833034a571789693..f8983ebd83d2128d619dc2cb02a7fd50d1e300e7 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2001 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- --
@@ -45,26 +45,22 @@ private package Ada.Wide_Text_IO.Decimal_Aux is
    function Get_Dec
      (File  : File_Type;
       Width : Field;
-      Scale : Integer)
-      return  Integer;
+      Scale : Integer) return Integer;
 
    function Get_LLD
      (File  : File_Type;
       Width : Field;
-      Scale : Integer)
-      return  Long_Long_Integer;
+      Scale : Integer) return Long_Long_Integer;
 
    function Gets_Dec
      (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Integer;
+      Scale : Integer) return Integer;
 
    function Gets_LLD
      (From  : String;
       Last  : access Positive;
-      Scale : Integer)
-      return  Long_Long_Integer;
+      Scale : Integer) return Long_Long_Integer;
 
    procedure Put_Dec
      (File  : File_Type;
index 376e7f724407ceb4b0e02d730fb23fca1d9eabab..910165060fc2d4af7844de4bc7a166bd2903c6c2 100644 (file)
@@ -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- --
@@ -32,6 +32,7 @@
 ------------------------------------------------------------------------------
 
 with Ada.Wide_Text_IO.Decimal_Aux;
+
 with System.WCh_Con; use System.WCh_Con;
 with System.WCh_WtS; use System.WCh_WtS;
 
@@ -49,9 +50,9 @@ package body Ada.Wide_Text_IO.Decimal_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       if Num'Size > Integer'Size then
@@ -71,14 +72,14 @@ package body Ada.Wide_Text_IO.Decimal_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_Input, Item, Width);
    end Get;
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive)
    is
@@ -110,11 +111,11 @@ package body Ada.Wide_Text_IO.Decimal_IO is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       if Num'Size > Integer'Size then
@@ -133,10 +134,10 @@ package body Ada.Wide_Text_IO.Decimal_IO is
    end Put;
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
       pragma Unreferenced (Fore);
       --  ??? how come this is unreferenced, sounds wrong ???
@@ -146,9 +147,9 @@ package body Ada.Wide_Text_IO.Decimal_IO is
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
       S : String (To'First .. To'Last);
 
index cb099fe25b3f86a69d1861c25872177295daec5f..9f664cdbbe63ae495423e8b99c87c4dc5d805b65 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -51,36 +51,36 @@ package Ada.Wide_Text_IO.Decimal_IO is
    Default_Exp  : Field := 3;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
 end Ada.Wide_Text_IO.Decimal_IO;
index b4736232310e783c082422c20a2b7192d8ea5b45..ce2380a56fccd6fbea37de3f75cf60dab54285a1 100644 (file)
@@ -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- --
@@ -53,7 +53,7 @@ package body Ada.Wide_Text_IO.Editing is
    -- Blank_When_Zero --
    ---------------------
 
-   function Blank_When_Zero (Pic : in Picture) return Boolean is
+   function Blank_When_Zero (Pic : Picture) return Boolean is
    begin
       return Pic.Contents.Original_BWZ;
    end Blank_When_Zero;
@@ -194,7 +194,7 @@ package body Ada.Wide_Text_IO.Editing is
    -- Expand --
    ------------
 
-   function Expand (Picture : in String) return String is
+   function Expand (Picture : String) return String is
       Result        : String (1 .. MAX_PICSIZE);
       Picture_Index : Integer := Picture'First;
       Result_Index  : Integer := Result'First;
@@ -308,9 +308,9 @@ package body Ada.Wide_Text_IO.Editing is
 
       Sign_Position : Integer := Pic.Sign_Position; --  may float.
 
-      Answer        : Wide_String (1 .. Pic.Picture.Length);
-      Last          : Integer;
-      Currency_Pos  : Integer := Pic.Start_Currency;
+      Answer       : Wide_String (1 .. Pic.Picture.Length);
+      Last         : Integer;
+      Currency_Pos : Integer := Pic.Start_Currency;
 
       Dollar : Boolean := False;
       --  Overridden immediately if necessary
@@ -1095,7 +1095,7 @@ package body Ada.Wide_Text_IO.Editing is
    --  The following ensures that we return B and not b being careful not
    --  to break things which expect lower case b for blank. See CXF3A02.
 
-   function Pic_String (Pic : in Picture) return String is
+   function Pic_String (Pic : Picture) return String is
       Temp : String (1 .. Pic.Contents.Picture.Length) :=
                               Pic.Contents.Picture.Expanded;
    begin
@@ -2757,11 +2757,10 @@ package body Ada.Wide_Text_IO.Editing is
          Format_Rec.Original_BWZ := Blank_When_Zero;
          Precalculate (Format_Rec);
 
-         --  False only if Blank_When_0 is True but the pic string
-         --  has a '*'
+         --  False only if Blank_When_0 is True but the pic string has a '*'
 
-         return not Blank_When_Zero or
-           Strings_Fixed.Index (Expanded_Pic, "*") = 0;
+         return not Blank_When_Zero
+           or else Strings_Fixed.Index (Expanded_Pic, "*") = 0;
       end;
 
    exception
index f275f8052de33cd05fd6f0d7c2358751b044fcfc..e0917f516780f7c3613cebe98c514dfaedb9250d 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -47,8 +47,8 @@ package Ada.Wide_Text_IO.Editing is
      (Pic_String      : String;
       Blank_When_Zero : Boolean := False) return Picture;
 
-   function Pic_String      (Pic : in Picture) return String;
-   function Blank_When_Zero (Pic : in Picture) return Boolean;
+   function Pic_String      (Pic : Picture) return String;
+   function Blank_When_Zero (Pic : Picture) return Boolean;
 
    Max_Picture_Length : constant := 64;
 
@@ -194,6 +194,6 @@ private
       Radix_Point         : Wide_Character) return Wide_String;
    --  Formats number according to Pic
 
-   function Expand (Picture : in String) return String;
+   function Expand (Picture : String) return String;
 
 end Ada.Wide_Text_IO.Editing;
index 4a231e5259540b4bd75acf22f90ae7d3b90a279e..0bba4ec1de276f49dde06e0c43fa0d8ad6a1a919 100644 (file)
@@ -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- --
@@ -190,9 +190,9 @@ package body Ada.Wide_Text_IO.Enumeration_Aux is
    ----------
 
    procedure Puts
-     (To    : out Wide_String;
-      Item  : in Wide_String;
-      Set   : Type_Set)
+     (To   : out Wide_String;
+      Item : Wide_String;
+      Set  : Type_Set)
    is
       Ptr : Natural;
 
index 16ced2dfe542a699e9d5cbf2b43db336c502d13b..d526626ec1741406727158b65132ac1e5e144276 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
@@ -62,9 +62,9 @@ private package Ada.Wide_Text_IO.Enumeration_Aux is
    --  using the given Width and Set parameters (Item is always in upper case).
 
    procedure Puts
-     (To    : out Wide_String;
-      Item  : in Wide_String;
-      Set   : Type_Set);
+     (To   : out Wide_String;
+      Item : Wide_String;
+      Set  : Type_Set);
    --  Stores the enumeration literal image stored in Item to the string To,
    --  padding with trailing spaces if necessary to fill To. Set is used to
 
index fd40df538e66ba738d4d0703a66ad4f6a26f64c0..33e5970307da626f5fb68535ec87af481a96456e 100644 (file)
@@ -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- --
@@ -41,7 +41,7 @@ package body Ada.Wide_Text_IO.Enumeration_IO is
    -- Get --
    ---------
 
-   procedure Get (File : in File_Type; Item : out Enum) is
+   procedure Get (File : File_Type; Item : out Enum) is
       Buf    : Wide_String (1 .. Enum'Width);
       Buflen : Natural;
 
@@ -59,7 +59,7 @@ package body Ada.Wide_Text_IO.Enumeration_IO is
    end Get;
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Enum;
       Last : out Positive)
    is
@@ -78,10 +78,10 @@ package body Ada.Wide_Text_IO.Enumeration_IO is
    ---------
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting)
+     (File  : File_Type;
+      Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting)
    is
       Image : constant Wide_String := Enum'Wide_Image (Item);
 
@@ -90,9 +90,9 @@ package body Ada.Wide_Text_IO.Enumeration_IO is
    end Put;
 
    procedure Put
-     (Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting)
+     (Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting)
    is
    begin
       Put (Current_Output, Item, Width, Set);
@@ -100,8 +100,8 @@ package body Ada.Wide_Text_IO.Enumeration_IO is
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Enum;
-      Set  : in Type_Set := Default_Setting)
+      Item : Enum;
+      Set  : Type_Set := Default_Setting)
    is
       Image : constant Wide_String := Enum'Wide_Image (Item);
 
index 5ee0515f89f14bb133964af4d0e1492817a6b04b..700783d601cf0de9f5ca22402985f078aa1afa03 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2000 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -49,28 +49,28 @@ package Ada.Wide_Text_IO.Enumeration_IO is
    Default_Width : Field := 0;
    Default_Setting : Type_Set := Upper_Case;
 
-   procedure Get (File : in File_Type; Item : out Enum);
+   procedure Get (File : File_Type; Item : out Enum);
    procedure Get (Item : out Enum);
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting);
+     (File  : File_Type;
+      Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting);
 
    procedure Put
-     (Item  : in Enum;
-      Width : in Field := Default_Width;
-      Set   : in Type_Set := Default_Setting);
+     (Item  : Enum;
+      Width : Field := Default_Width;
+      Set   : Type_Set := Default_Setting);
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Enum;
       Last : out Positive);
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Enum;
-      Set  : in Type_Set := Default_Setting);
+      Item : Enum;
+      Set  : Type_Set := Default_Setting);
 
 end Ada.Wide_Text_IO.Enumeration_IO;
index 405f17d15ad63c2473599fc42132e1396b5d6431..50a24a9512d0817a068d0e19144b1674ab556984 100644 (file)
@@ -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- --
@@ -47,9 +47,9 @@ package body Ada.Wide_Text_IO.Fixed_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Aux.Get (TFT (File), Long_Long_Float (Item), Width);
@@ -60,14 +60,14 @@ package body Ada.Wide_Text_IO.Fixed_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_Input, Item, Width);
    end Get;
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive)
    is
@@ -89,21 +89,21 @@ package body Ada.Wide_Text_IO.Fixed_IO is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Put (TFT (File), Long_Long_Float (Item), Fore, Aft, Exp);
    end Put;
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Put (Current_Output, Item, Fore, Aft, Exp);
@@ -111,9 +111,9 @@ package body Ada.Wide_Text_IO.Fixed_IO is
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
       S : String (To'First .. To'Last);
 
index e325e7e374ff0bf19d5a7006b9d7ef0ee13aa6db..83571f31c4739f1f74cd56ff52a7584680f8ea00 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -51,36 +51,36 @@ package Ada.Wide_Text_IO.Fixed_IO is
    Default_Exp  : Field := 0;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
 end Ada.Wide_Text_IO.Fixed_IO;
index b7c1e3715cf4169432e5f3b4bf2c2b140bb09ca0..a7e03b6bd3f4bdb893bcfbc9d5065f2f3dbf746d 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2003 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- --
@@ -43,9 +43,9 @@ package body Ada.Wide_Text_IO.Float_Aux is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Float;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Stop : Integer := 0;
@@ -69,7 +69,7 @@ package body Ada.Wide_Text_IO.Float_Aux is
    ----------
 
    procedure Gets
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Float;
       Last : out Positive)
    is
@@ -90,7 +90,7 @@ package body Ada.Wide_Text_IO.Float_Aux is
    ---------------
 
    procedure Load_Real
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural)
    is
@@ -181,11 +181,11 @@ package body Ada.Wide_Text_IO.Float_Aux is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Long_Long_Float;
-      Fore : in Field;
-      Aft  : in Field;
-      Exp  : in Field)
+     (File : File_Type;
+      Item : Long_Long_Float;
+      Fore : Field;
+      Aft  : Field;
+      Exp  : Field)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -201,12 +201,12 @@ package body Ada.Wide_Text_IO.Float_Aux is
 
    procedure Puts
      (To   : out String;
-      Item : in Long_Long_Float;
-      Aft  : in Field;
-      Exp  : in Field)
+      Item : Long_Long_Float;
+      Aft  : Field;
+      Exp  : Field)
    is
-      Buf    : String (1 .. Field'Last);
-      Ptr    : Natural := 0;
+      Buf : String (1 .. Field'Last);
+      Ptr : Natural := 0;
 
    begin
       Set_Image_Real (Item, Buf, Ptr, Fore => 1, Aft => Aft, Exp => Exp);
index 6156f8eb72762ec874aff435888b82374c83ddad..6370e79120a52857e865b03adc0f55470925d0d5 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
 private package Ada.Wide_Text_IO.Float_Aux is
 
    procedure Load_Real
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural);
    --  This is an auxiliary routine that is used to load a possibly signed
    --  real literal value from the input file into Buf, starting at Ptr + 1.
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Float;
-      Width : in Field);
+      Width : Field);
 
    procedure Gets
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Float;
       Last : out Positive);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Long_Long_Float;
-      Fore : in Field;
-      Aft  : in Field;
-      Exp  : in Field);
+     (File : File_Type;
+      Item : Long_Long_Float;
+      Fore : Field;
+      Aft  : Field;
+      Exp  : Field);
 
    procedure Puts
      (To   : out String;
-      Item : in Long_Long_Float;
-      Aft  : in Field;
-      Exp  : in Field);
+      Item : Long_Long_Float;
+      Aft  : Field;
+      Exp  : Field);
 
 end Ada.Wide_Text_IO.Float_Aux;
index 1d331d41f37c748f61b2926912e54099395681fa..715e0b074d0719866b3e9eaef547b0962b534ace 100644 (file)
@@ -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- --
@@ -32,6 +32,7 @@
 ------------------------------------------------------------------------------
 
 with Ada.Wide_Text_IO.Float_Aux;
+
 with System.WCh_Con; use System.WCh_Con;
 with System.WCh_WtS; use System.WCh_WtS;
 
@@ -47,9 +48,9 @@ package body Ada.Wide_Text_IO.Float_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Aux.Get (TFT (File), Long_Long_Float (Item), Width);
@@ -60,14 +61,14 @@ package body Ada.Wide_Text_IO.Float_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_Input, Item, Width);
    end Get;
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive)
    is
@@ -89,21 +90,21 @@ package body Ada.Wide_Text_IO.Float_IO is
    ---------
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Aux.Put (TFT (File), Long_Long_Float (Item), Fore, Aft, Exp);
    end Put;
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
    begin
       Put (Current_Output, Item, Fore, Aft, Exp);
@@ -111,9 +112,9 @@ package body Ada.Wide_Text_IO.Float_IO is
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp)
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp)
    is
       S : String (To'First .. To'Last);
 
index cca9301fb58586815505f7004a23917d6c7e03d4..26114791733bee44f6f37b917ff79a26fc1a4841 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -51,36 +51,36 @@ package Ada.Wide_Text_IO.Float_IO is
    Default_Exp  : Field := 3;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File : in File_Type;
-      Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (File : File_Type;
+      Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Put
-     (Item : in Num;
-      Fore : in Field := Default_Fore;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+     (Item : Num;
+      Fore : Field := Default_Fore;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Aft  : in Field := Default_Aft;
-      Exp  : in Field := Default_Exp);
+      Item : Num;
+      Aft  : Field := Default_Aft;
+      Exp  : Field := Default_Exp);
 
 end Ada.Wide_Text_IO.Float_IO;
index 9059dd6a297f716ac33e705de880c94f85d87bd8..6ee73e22fd9d819b3e1efda4c4d0851f881dc845 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2001 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- --
@@ -79,7 +79,7 @@ package Ada.Wide_Text_IO.Generic_Aux is
 
    procedure Load_Width
      (File  : File_Type;
-      Width : in Field;
+      Width : Field;
       Buf   : out String;
       Ptr   : in out Integer);
    --  Loads exactly Width characters, unless a line mark is encountered first
index 1d51e0f0e8882c2c80ec083842a40c39d3cfe780..4889a8a5afc41e32545c6b7f269c25b247560d69 100644 (file)
@@ -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- --
 
 with Ada.Wide_Text_IO.Generic_Aux; use Ada.Wide_Text_IO.Generic_Aux;
 
-with System.Img_BIU;   use System.Img_BIU;
-with System.Img_Int;   use System.Img_Int;
-with System.Img_LLB;   use System.Img_LLB;
-with System.Img_LLI;   use System.Img_LLI;
-with System.Img_LLW;   use System.Img_LLW;
-with System.Img_WIU;   use System.Img_WIU;
-with System.Val_Int;   use System.Val_Int;
-with System.Val_LLI;   use System.Val_LLI;
+with System.Img_BIU; use System.Img_BIU;
+with System.Img_Int; use System.Img_Int;
+with System.Img_LLB; use System.Img_LLB;
+with System.Img_LLI; use System.Img_LLI;
+with System.Img_LLW; use System.Img_LLW;
+with System.Img_WIU; use System.Img_WIU;
+with System.Val_Int; use System.Val_Int;
+with System.Val_LLI; use System.Val_LLI;
 
 package body Ada.Wide_Text_IO.Integer_Aux is
 
@@ -49,7 +49,7 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    -----------------------
 
    procedure Load_Integer
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural);
    --  This is an auxiliary routine that is used to load an possibly signed
@@ -61,9 +61,9 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    -------------
 
    procedure Get_Int
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Integer;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer := 1;
@@ -86,9 +86,9 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    -------------
 
    procedure Get_LLI
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Integer;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Ptr  : aliased Integer := 1;
@@ -111,7 +111,7 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    --------------
 
    procedure Gets_Int
-     (From : in String;
+     (From : String;
       Item : out Integer;
       Last : out Positive)
    is
@@ -132,7 +132,7 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    --------------
 
    procedure Gets_LLI
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Integer;
       Last : out Positive)
    is
@@ -153,7 +153,7 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    ------------------
 
    procedure Load_Integer
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural)
    is
@@ -193,10 +193,10 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    -------------
 
    procedure Put_Int
-     (File  : in File_Type;
-      Item  : in Integer;
-      Width : in Field;
-      Base  : in Number_Base)
+     (File  : File_Type;
+      Item  : Integer;
+      Width : Field;
+      Base  : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -218,10 +218,10 @@ package body Ada.Wide_Text_IO.Integer_Aux is
    -------------
 
    procedure Put_LLI
-     (File  : in File_Type;
-      Item  : in Long_Long_Integer;
-      Width : in Field;
-      Base  : in Number_Base)
+     (File  : File_Type;
+      Item  : Long_Long_Integer;
+      Width : Field;
+      Base  : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -244,8 +244,8 @@ package body Ada.Wide_Text_IO.Integer_Aux is
 
    procedure Puts_Int
      (To   : out String;
-      Item : in Integer;
-      Base : in Number_Base)
+      Item : Integer;
+      Base : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -270,8 +270,8 @@ package body Ada.Wide_Text_IO.Integer_Aux is
 
    procedure Puts_LLI
      (To   : out String;
-      Item : in Long_Long_Integer;
-      Base : in Number_Base)
+      Item : Long_Long_Integer;
+      Base : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
index e56d8d1a931d51545abc973adc3d9bb9b9e40bbe..73fe171b478918107bfaf5aa3c66fa16e9b159d4 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
 private package Ada.Wide_Text_IO.Integer_Aux is
 
    procedure Get_Int
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Integer;
-      Width : in Field);
+      Width : Field);
 
    procedure Get_LLI
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Integer;
-      Width : in Field);
+      Width : Field);
 
    procedure Gets_Int
-     (From : in String;
+     (From : String;
       Item : out Integer;
       Last : out Positive);
 
    procedure Gets_LLI
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Integer;
       Last : out Positive);
 
    procedure Put_Int
-     (File  : in File_Type;
-      Item  : in Integer;
-      Width : in Field;
-      Base  : in Number_Base);
+     (File  : File_Type;
+      Item  : Integer;
+      Width : Field;
+      Base  : Number_Base);
 
    procedure Put_LLI
-     (File  : in File_Type;
-      Item  : in Long_Long_Integer;
-      Width : in Field;
-      Base  : in Number_Base);
+     (File  : File_Type;
+      Item  : Long_Long_Integer;
+      Width : Field;
+      Base  : Number_Base);
 
    procedure Puts_Int
      (To   : out String;
-      Item : in Integer;
-      Base : in Number_Base);
+      Item : Integer;
+      Base : Number_Base);
 
    procedure Puts_LLI
      (To   : out String;
-      Item : in Long_Long_Integer;
-      Base : in Number_Base);
+      Item : Long_Long_Integer;
+      Base : Number_Base);
 
 end Ada.Wide_Text_IO.Integer_Aux;
index deb3a519040d77cedd1204ce69be4a817cdcb024..7686325bdf7702ae7c818a602721996b4b3de948 100644 (file)
@@ -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- --
@@ -54,9 +54,9 @@ package body Ada.Wide_Text_IO.Integer_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       if Need_LLI then
@@ -71,14 +71,14 @@ package body Ada.Wide_Text_IO.Integer_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_Input, Item, Width);
    end Get;
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive)
    is
@@ -104,10 +104,10 @@ package body Ada.Wide_Text_IO.Integer_IO is
    ---------
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       if Need_LLI then
@@ -118,9 +118,9 @@ package body Ada.Wide_Text_IO.Integer_IO is
    end Put;
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       Put (Current_Output, Item, Width, Base);
@@ -128,8 +128,8 @@ package body Ada.Wide_Text_IO.Integer_IO is
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base)
+      Item : Num;
+      Base : Number_Base := Default_Base)
    is
       S : String (To'First .. To'Last);
 
index 0c9c0642121c78198400f8fb7f5f0e82974379b6..257ba23ac96c4fd37c3dce90f272cc7bc0f5477b 100644 (file)
@@ -28,33 +28,33 @@ package Ada.Wide_Text_IO.Integer_IO is
    Default_Base  : Number_Base := 10;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base);
+      Item : Num;
+      Base : Number_Base := Default_Base);
 
 end Ada.Wide_Text_IO.Integer_IO;
index 0a9dca44c7acd6cbb1d844582635735c8e29b924..6a34d81c54d455f5a7c71712f4f2d39937111c2a 100644 (file)
@@ -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- --
 
 with Ada.Wide_Text_IO.Generic_Aux; use Ada.Wide_Text_IO.Generic_Aux;
 
-with System.Img_BIU;   use System.Img_BIU;
-with System.Img_Uns;   use System.Img_Uns;
-with System.Img_LLB;   use System.Img_LLB;
-with System.Img_LLU;   use System.Img_LLU;
-with System.Img_LLW;   use System.Img_LLW;
-with System.Img_WIU;   use System.Img_WIU;
-with System.Val_Uns;   use System.Val_Uns;
-with System.Val_LLU;   use System.Val_LLU;
+with System.Img_BIU; use System.Img_BIU;
+with System.Img_Uns; use System.Img_Uns;
+with System.Img_LLB; use System.Img_LLB;
+with System.Img_LLU; use System.Img_LLU;
+with System.Img_LLW; use System.Img_LLW;
+with System.Img_WIU; use System.Img_WIU;
+with System.Val_Uns; use System.Val_Uns;
+with System.Val_LLU; use System.Val_LLU;
 
 package body Ada.Wide_Text_IO.Modular_Aux is
 
@@ -51,7 +51,7 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    -----------------------
 
    procedure Load_Modular
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural);
    --  This is an auxiliary routine that is used to load an possibly signed
@@ -63,9 +63,9 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    -------------
 
    procedure Get_LLU
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Long_Long_Unsigned;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Stop : Integer := 0;
@@ -88,9 +88,9 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    -------------
 
    procedure Get_Uns
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Unsigned;
-      Width : in Field)
+      Width : Field)
    is
       Buf  : String (1 .. Field'Last);
       Stop : Integer := 0;
@@ -113,7 +113,7 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    --------------
 
    procedure Gets_LLU
-     (From : in String;
+     (From : String;
       Item : out Long_Long_Unsigned;
       Last : out Positive)
    is
@@ -134,7 +134,7 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    --------------
 
    procedure Gets_Uns
-     (From : in String;
+     (From : String;
       Item : out Unsigned;
       Last : out Positive)
    is
@@ -155,7 +155,7 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    ------------------
 
    procedure Load_Modular
-     (File : in File_Type;
+     (File : File_Type;
       Buf  : out String;
       Ptr  : in out Natural)
    is
@@ -203,10 +203,10 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    -------------
 
    procedure Put_LLU
-     (File  : in File_Type;
-      Item  : in Long_Long_Unsigned;
-      Width : in Field;
-      Base  : in Number_Base)
+     (File  : File_Type;
+      Item  : Long_Long_Unsigned;
+      Width : Field;
+      Base  : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -228,10 +228,10 @@ package body Ada.Wide_Text_IO.Modular_Aux is
    -------------
 
    procedure Put_Uns
-     (File  : in File_Type;
-      Item  : in Unsigned;
-      Width : in Field;
-      Base  : in Number_Base)
+     (File  : File_Type;
+      Item  : Unsigned;
+      Width : Field;
+      Base  : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -254,8 +254,8 @@ package body Ada.Wide_Text_IO.Modular_Aux is
 
    procedure Puts_LLU
      (To   : out String;
-      Item : in Long_Long_Unsigned;
-      Base : in Number_Base)
+      Item : Long_Long_Unsigned;
+      Base : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
@@ -280,8 +280,8 @@ package body Ada.Wide_Text_IO.Modular_Aux is
 
    procedure Puts_Uns
      (To   : out String;
-      Item : in Unsigned;
-      Base : in Number_Base)
+      Item : Unsigned;
+      Base : Number_Base)
    is
       Buf : String (1 .. Field'Last);
       Ptr : Natural := 0;
index 9fd6384158e50fc346b364577f72d7aef034adcf..57e2e9a4963bb2409fa76103e49ff71f9ae2a2fe 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1997 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- --
@@ -45,45 +45,45 @@ private package Ada.Wide_Text_IO.Modular_Aux is
    package U renames System.Unsigned_Types;
 
    procedure Get_Uns
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out U.Unsigned;
-      Width : in Field);
+      Width : Field);
 
    procedure Get_LLU
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out U.Long_Long_Unsigned;
-      Width : in Field);
+      Width : Field);
 
    procedure Gets_Uns
-     (From : in String;
+     (From : String;
       Item : out U.Unsigned;
       Last : out Positive);
 
    procedure Gets_LLU
-     (From : in String;
+     (From : String;
       Item : out U.Long_Long_Unsigned;
       Last : out Positive);
 
    procedure Put_Uns
-     (File  : in File_Type;
-      Item  : in U.Unsigned;
-      Width : in Field;
-      Base  : in Number_Base);
+     (File  : File_Type;
+      Item  : U.Unsigned;
+      Width : Field;
+      Base  : Number_Base);
 
    procedure Put_LLU
-     (File  : in File_Type;
-      Item  : in U.Long_Long_Unsigned;
-      Width : in Field;
-      Base  : in Number_Base);
+     (File  : File_Type;
+      Item  : U.Long_Long_Unsigned;
+      Width : Field;
+      Base  : Number_Base);
 
    procedure Puts_Uns
      (To   : out String;
-      Item : in U.Unsigned;
-      Base : in Number_Base);
+      Item : U.Unsigned;
+      Base : Number_Base);
 
    procedure Puts_LLU
      (To   : out String;
-      Item : in U.Long_Long_Unsigned;
-      Base : in Number_Base);
+      Item : U.Long_Long_Unsigned;
+      Base : Number_Base);
 
 end Ada.Wide_Text_IO.Modular_Aux;
index e9bf87753674fd15b0cfe18fab1a675a25ed1d51..2852fddfa0650a4eb17cbb3fe64f58e4c926a7f6 100644 (file)
@@ -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- --
@@ -49,9 +49,9 @@ package body Ada.Wide_Text_IO.Modular_IO is
    ---------
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       if Num'Size > Unsigned'Size then
@@ -66,14 +66,14 @@ package body Ada.Wide_Text_IO.Modular_IO is
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0)
+      Width : Field := 0)
    is
    begin
       Get (Current_Input, Item, Width);
    end Get;
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive)
    is
@@ -99,10 +99,10 @@ package body Ada.Wide_Text_IO.Modular_IO is
    ---------
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       if Num'Size > Unsigned'Size then
@@ -113,9 +113,9 @@ package body Ada.Wide_Text_IO.Modular_IO is
    end Put;
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base)
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base)
    is
    begin
       Put (Current_Output, Item, Width, Base);
@@ -123,8 +123,8 @@ package body Ada.Wide_Text_IO.Modular_IO is
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base)
+      Item : Num;
+      Base : Number_Base := Default_Base)
    is
       S : String (To'First .. To'Last);
 
index fd2cb9623d244e7d6cbc4993a26fcf462b26176f..542e430ee1c3ce00b066fce27b93127eea640955 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -50,33 +50,33 @@ package Ada.Wide_Text_IO.Modular_IO is
    Default_Base  : Number_Base := 10;
 
    procedure Get
-     (File  : in File_Type;
+     (File  : File_Type;
       Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Get
      (Item  : out Num;
-      Width : in Field := 0);
+      Width : Field := 0);
 
    procedure Put
-     (File  : in File_Type;
-      Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (File  : File_Type;
+      Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Put
-     (Item  : in Num;
-      Width : in Field := Default_Width;
-      Base  : in Number_Base := Default_Base);
+     (Item  : Num;
+      Width : Field := Default_Width;
+      Base  : Number_Base := Default_Base);
 
    procedure Get
-     (From : in Wide_String;
+     (From : Wide_String;
       Item : out Num;
       Last : out Positive);
 
    procedure Put
      (To   : out Wide_String;
-      Item : in Num;
-      Base : in Number_Base := Default_Base);
+      Item : Num;
+      Base : Number_Base := Default_Base);
 
 end Ada.Wide_Text_IO.Modular_IO;
index 97e58a18a9270ff357cdf76b9206b7e16944341f..69c4ed694cdf9d8a202bac454502bbda6bf002b3 100644 (file)
@@ -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- --
@@ -56,9 +56,9 @@ package body Ada.Wide_Wide_Text_IO.Complex_IO is
    ---------
 
    procedure Get
-     (File  :  File_Type;
+     (File  : File_Type;
       Item  : out Complex;
-      Width :  Field := 0)
+      Width : Field := 0)
    is
       Real_Item : Real'Base;
       Imag_Item : Real'Base;
index f763bdc3920acc934715cb6eda1390f95e02b2a8..472075057dabfc130bfb3d18728f16e61d315cef 100644 (file)
@@ -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- --
@@ -53,7 +53,7 @@ package body Ada.Wide_Wide_Text_IO.Editing is
    -- Blank_When_Zero --
    ---------------------
 
-   function Blank_When_Zero (Pic : in Picture) return Boolean is
+   function Blank_When_Zero (Pic : Picture) return Boolean is
    begin
       return Pic.Contents.Original_BWZ;
    end Blank_When_Zero;
@@ -195,7 +195,7 @@ package body Ada.Wide_Wide_Text_IO.Editing is
    -- Expand --
    ------------
 
-   function Expand (Picture : in String) return String is
+   function Expand (Picture : String) return String is
       Result        : String (1 .. MAX_PICSIZE);
       Picture_Index : Integer := Picture'First;
       Result_Index  : Integer := Result'First;
@@ -309,9 +309,9 @@ package body Ada.Wide_Wide_Text_IO.Editing is
 
       Sign_Position : Integer := Pic.Sign_Position; --  may float.
 
-      Answer        : Wide_Wide_String (1 .. Pic.Picture.Length);
-      Last          : Integer;
-      Currency_Pos  : Integer := Pic.Start_Currency;
+      Answer       : Wide_Wide_String (1 .. Pic.Picture.Length);
+      Last         : Integer;
+      Currency_Pos : Integer := Pic.Start_Currency;
 
       Dollar : Boolean := False;
       --  Overridden immediately if necessary
@@ -1097,7 +1097,7 @@ package body Ada.Wide_Wide_Text_IO.Editing is
    --  The following ensures that we return B and not b being careful not
    --  to break things which expect lower case b for blank. See CXF3A02.
 
-   function Pic_String (Pic : in Picture) return String is
+   function Pic_String (Pic : Picture) return String is
       Temp : String (1 .. Pic.Contents.Picture.Length) :=
                               Pic.Contents.Picture.Expanded;
    begin
@@ -2757,11 +2757,10 @@ package body Ada.Wide_Wide_Text_IO.Editing is
          Format_Rec.Original_BWZ := Blank_When_Zero;
          Precalculate (Format_Rec);
 
-         --  False only if Blank_When_0 is True but the pic string
-         --  has a '*'
+         --  False only if Blank_When_0 is True but the pic string has a '*'
 
-         return not Blank_When_Zero or
-           Strings_Fixed.Index (Expanded_Pic, "*") = 0;
+         return not Blank_When_Zero
+           or else Strings_Fixed.Index (Expanded_Pic, "*") = 0;
       end;
 
    exception
index 3a2f49a4d718c25013ee2980fdef8a41547ded38..e72bba781a179e339d9c118e724374e25526f6eb 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -47,8 +47,8 @@ package Ada.Wide_Wide_Text_IO.Editing is
      (Pic_String      : String;
       Blank_When_Zero : Boolean := False) return Picture;
 
-   function Pic_String      (Pic : in Picture) return String;
-   function Blank_When_Zero (Pic : in Picture) return Boolean;
+   function Pic_String      (Pic : Picture) return String;
+   function Blank_When_Zero (Pic : Picture) return Boolean;
 
    Max_Picture_Length : constant := 64;
 
@@ -195,6 +195,6 @@ private
       Radix_Point         : Wide_Wide_Character) return Wide_Wide_String;
    --  Formats number according to Pic
 
-   function Expand (Picture : in String) return String;
+   function Expand (Picture : String) return String;
 
 end Ada.Wide_Wide_Text_IO.Editing;
index f3b570f69c64ed1dd71392527072d9a535c46c93..01d996c418eb2844a71c48c405aceae8d6b9aa37 100644 (file)
@@ -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- --
@@ -192,9 +192,9 @@ package body Ada.Wide_Wide_Text_IO.Enumeration_Aux is
    ----------
 
    procedure Puts
-     (To    : out Wide_Wide_String;
-      Item  : Wide_Wide_String;
-      Set   : Type_Set)
+     (To   : out Wide_Wide_String;
+      Item : Wide_Wide_String;
+      Set  : Type_Set)
    is
       Ptr : Natural;
 
index 6683be974df38674156980e8a53e01053e7aa08b..b24184d01f81e12e48a1b1783c1b4a390abc1c54 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -62,9 +62,9 @@ private package Ada.Wide_Wide_Text_IO.Enumeration_Aux is
    --  using the given Width and Set parameters (Item is always in upper case).
 
    procedure Puts
-     (To    : out Wide_Wide_String;
-      Item  : Wide_Wide_String;
-      Set   : Type_Set);
+     (To   : out Wide_Wide_String;
+      Item : Wide_Wide_String;
+      Set  : Type_Set);
    --  Stores the enumeration literal image stored in Item to the string To,
    --  padding with trailing spaces if necessary to fill To. Set is used to
 
index 99db7769b1a6770f675cc5d868244988292b547c..1801217cc1e9288c0c473dbfcab5232d24008dcc 100644 (file)
@@ -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- --
@@ -52,7 +52,7 @@ package body Eval_Fat is
 
    procedure Decompose
      (RT       : R;
-      X        : in T;
+      X        : T;
       Fraction : out T;
       Exponent : out UI;
       Mode     : Rounding_Mode := Round);
@@ -63,7 +63,7 @@ package body Eval_Fat is
 
    procedure Decompose_Int
      (RT       : R;
-      X        : in T;
+      X        : T;
       Fraction : out UI;
       Exponent : out UI;
       Mode     : Rounding_Mode);
@@ -148,7 +148,7 @@ package body Eval_Fat is
 
    procedure Decompose
      (RT       : R;
-      X        : in T;
+      X        : T;
       Fraction : out T;
       Exponent : out UI;
       Mode     : Rounding_Mode := Round)
@@ -182,7 +182,7 @@ package body Eval_Fat is
 
    procedure Decompose_Int
      (RT       : R;
-      X        : in T;
+      X        : T;
       Fraction : out UI;
       Exponent : out UI;
       Mode     : Rounding_Mode)
index 9ce4234cfa9c82b10e77c8a331e02e4388d83ca1..43e3a24c9912c5ce4c3bd1040bf00e0023ec702c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 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- --
@@ -31,44 +31,44 @@ with Types; use Types;
 
 package Exp_Dist is
 
-   procedure Add_RAST_Features (Vis_Decl : in Node_Id);
+   procedure Add_RAST_Features (Vis_Decl : Node_Id);
    --  Build and add bodies for dereference and 'Access subprograms for a
    --  remote access to subprogram type. Vis_Decl is the declaration node for
    --  the RAS type.
 
-   procedure Add_RACW_Features (RACW_Type : in Entity_Id);
+   procedure Add_RACW_Features (RACW_Type : Entity_Id);
    --  Add RACW features. If the RACW and the designated type are not in the
    --  same scope, then Add_RACW_Primitive_Declarations_And_Bodies is called
    --  automatically since we do know the primitive list already.
 
    procedure Add_RACW_Primitive_Declarations_And_Bodies
-     (Designated_Type : in Entity_Id;
-      Insertion_Node  : in Node_Id;
-      Decls           : in List_Id);
+     (Designated_Type : Entity_Id;
+      Insertion_Node  : Node_Id;
+      Decls           : List_Id);
    --  Add primitive for the stub type, and the RPC receiver. The declarations
    --  are inserted after insertion_Node, while the bodies are appened at the
    --  end of Decls.
 
    procedure Remote_Types_Tagged_Full_View_Encountered
-     (Full_View : in Entity_Id);
+     (Full_View : Entity_Id);
    --  When a full view with a private view is encountered in a Remote_Types
    --  package and corresponds to a tagged type, then this procedure is called
    --  to generate the needed RACW features if it is needed.
 
-   procedure RACW_Type_Is_Asynchronous (RACW_Type : in Entity_Id);
+   procedure RACW_Type_Is_Asynchronous (RACW_Type : Entity_Id);
    --  This subprogram must be called when it is detected that the RACW type
    --  is asynchronous.
 
-   procedure Expand_Calling_Stubs_Bodies (Unit_Node : in Node_Id);
+   procedure Expand_Calling_Stubs_Bodies (Unit_Node : Node_Id);
    --  Call the expansion phase for the calling stubs. The code will be added
    --  at the end of the compilation unit, which is a package spec.
 
-   procedure Expand_Receiving_Stubs_Bodies (Unit_Node : in Node_Id);
+   procedure Expand_Receiving_Stubs_Bodies (Unit_Node : Node_Id);
    --  Call the expansion phase for the calling stubs. The code will be added
    --  at the end of the compilation unit, which may be either a package spec
    --  or a package body.
 
-   procedure Expand_All_Calls_Remote_Subprogram_Call (N : in Node_Id);
+   procedure Expand_All_Calls_Remote_Subprogram_Call (N : Node_Id);
    --  Rewrite a call to a subprogram located in a Remote_Call_Interface
    --  package on which the pragma All_Calls_Remote applies so that it
    --  goes through the PCS. N is either an N_Procedure_Call_Statement
index 746025d87942ca7e2c5fa6e1ef74645152385cd8..6cbea2b1edaba9953ffd75b0df441b5351a33169 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1998-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1998-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- --
@@ -57,9 +57,7 @@ package body Exp_Smem is
    --  to the assignment statement) or Is_Out_Actual (where it points to
    --  the procedure call statement).
 
-   procedure Build_Full_Name
-     (E : in  Entity_Id;
-      N : out String_Id);
+   procedure Build_Full_Name (E : Entity_Id; N : out String_Id);
    --  Build the fully qualified string name of a shared variable
 
    function On_Lhs_Of_Assignment (N : Node_Id) return Boolean;
@@ -181,15 +179,15 @@ package body Exp_Smem is
    -- Build_Full_Name --
    ---------------------
 
-   procedure Build_Full_Name
-     (E : in  Entity_Id;
-      N : out String_Id)
-   is
+   procedure Build_Full_Name (E : Entity_Id; N : out String_Id) is
 
       procedure Build_Name (E : Entity_Id);
-      --  This is a recursive routine used to construct the fully
-      --  qualified string name of the package corresponding to the
-      --  shared variable.
+      --  This is a recursive routine used to construct the fully qualified
+      --  string name of the package corresponding to the shared variable.
+
+      ----------------
+      -- Build_Name --
+      ----------------
 
       procedure Build_Name (E : Entity_Id) is
       begin
@@ -202,6 +200,8 @@ package body Exp_Smem is
          Store_String_Chars (Name_Buffer (1 .. Name_Len));
       end Build_Name;
 
+   --  Start of processing for Build_Full_Name
+
    begin
       Start_String;
       Build_Name (E);
index e8284e785609c9aa0cbf78b1c3522d8238b19892..cb2e3524ef8781f6e2ed2a8d5f400dfaa079d428 100644 (file)
@@ -214,8 +214,8 @@ package body Fmap is
 
          while First < SP'Last
            and then (SP (First) = CR
-                     or else SP (First) = LF
-                     or else SP (First) = EOF)
+                      or else SP (First) = LF
+                      or else SP (First) = EOF)
          loop
             First := First + 1;
          end loop;
index ef75f13585fc70fda24a50427db288bebcd5864b..a8ac5f1a92137ef22d60fb38bf7413f4c0e7f479 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 2003-2005, AdaCore                     --
+--                     Copyright (C) 2003-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -42,7 +42,7 @@ package body GNAT.Bounded_Buffers is
       -- Insert --
       ------------
 
-      entry Insert (Item : in Element) when Count /= Capacity is
+      entry Insert (Item : Element) when Count /= Capacity is
       begin
          Values (Next_In) := Item;
          Next_In := (Next_In mod Capacity) + 1;
index 9641d37c9af03a01648893a7a30f77d86d52ad9e..19d477f35988a99b1be83c9c5cf8f52c1de90f82 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 2003-2005, AdaCore                     --
+--                     Copyright (C) 2003-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -66,7 +66,7 @@ package GNAT.Bounded_Buffers is
    is
       pragma Priority (Ceiling);
 
-      entry Insert (Item : in Element);
+      entry Insert (Item : Element);
       --  Insert Item into the buffer, blocks caller until space is available
 
       entry Remove (Item : out Element);
index 4c353d865693eb0d865c898c7460cef70dd6d4ad..6b8020fb4cad0482c536c3ea6b3a06fdd704b89e 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 2000-2005, AdaCore                     --
+--                     Copyright (C) 2000-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -47,7 +47,7 @@ package body GNAT.CGI.Debug is
 
       type Format is abstract tagged null record;
 
-      function Output (Mode : in Format'Class) return String;
+      function Output (Mode : Format'Class) return String;
 
       function Variable
         (Mode  : Format;
@@ -86,11 +86,11 @@ package body GNAT.CGI.Debug is
          Name  : String;
          Value : String) return String;
 
-      function New_Line (IO : in Format) return String;
+      function New_Line (IO : Format) return String;
 
-      function Title (IO : in Format; Str : in String) return String;
+      function Title (IO : Format; Str : String) return String;
 
-      function Header (IO : in Format; Str : in String) return String;
+      function Header (IO : Format; Str : String) return String;
 
    end HTML_IO;
 
@@ -109,11 +109,11 @@ package body GNAT.CGI.Debug is
          Name  : String;
          Value : String) return String;
 
-      function New_Line (IO : in Format) return String;
+      function New_Line (IO : Format) return String;
 
-      function Title (IO : in Format; Str : in String) return String;
+      function Title (IO : Format; Str : String) return String;
 
-      function Header (IO : in Format; Str : in String) return String;
+      function Header (IO : Format; Str : String) return String;
 
    end Text_IO;
 
@@ -127,7 +127,7 @@ package body GNAT.CGI.Debug is
       -- Output --
       ------------
 
-      function Output (Mode : in Format'Class) return String is
+      function Output (Mode : Format'Class) return String is
          Result : Unbounded_String;
 
       begin
@@ -172,17 +172,17 @@ package body GNAT.CGI.Debug is
 
       NL : constant String := (1 => ASCII.LF);
 
-      function Bold (S : in String) return String;
+      function Bold (S : String) return String;
       --  Returns S as an HTML bold string
 
-      function Italic (S : in String) return String;
+      function Italic (S : String) return String;
       --  Returns S as an HTML italic string
 
       ----------
       -- Bold --
       ----------
 
-      function Bold (S : in String) return String is
+      function Bold (S : String) return String is
       begin
          return "<b>" & S & "</b>";
       end Bold;
@@ -191,7 +191,7 @@ package body GNAT.CGI.Debug is
       -- Header --
       ------------
 
-      function Header (IO : in Format; Str : in String) return String is
+      function Header (IO : Format; Str : String) return String is
          pragma Unreferenced (IO);
       begin
          return "<h2>" & Str & "</h2>" & NL;
@@ -201,7 +201,7 @@ package body GNAT.CGI.Debug is
       -- Italic --
       ------------
 
-      function Italic (S : in String) return String is
+      function Italic (S : String) return String is
       begin
          return "<i>" & S & "</i>";
       end Italic;
@@ -210,7 +210,7 @@ package body GNAT.CGI.Debug is
       -- New_Line --
       --------------
 
-      function New_Line (IO : in Format) return String is
+      function New_Line (IO : Format) return String is
          pragma Unreferenced (IO);
       begin
          return "<br>" & NL;
@@ -220,7 +220,7 @@ package body GNAT.CGI.Debug is
       -- Title --
       -----------
 
-      function Title (IO : in Format; Str : in String) return String is
+      function Title (IO : Format; Str : String) return String is
          pragma Unreferenced (IO);
       begin
          return "<p align=center><font size=+2>" & Str & "</font></p>" & NL;
@@ -252,7 +252,7 @@ package body GNAT.CGI.Debug is
       -- Header --
       ------------
 
-      function Header (IO : in Format; Str : in String) return String is
+      function Header (IO : Format; Str : String) return String is
       begin
          return "*** " & Str & New_Line (IO);
       end Header;
@@ -261,7 +261,7 @@ package body GNAT.CGI.Debug is
       -- New_Line --
       --------------
 
-      function New_Line (IO : in Format) return String is
+      function New_Line (IO : Format) return String is
          pragma Unreferenced (IO);
       begin
          return String'(1 => ASCII.LF);
@@ -271,7 +271,7 @@ package body GNAT.CGI.Debug is
       -- Title --
       -----------
 
-      function Title (IO : in Format; Str : in String) return String is
+      function Title (IO : Format; Str : String) return String is
          Spaces : constant Natural := (80 - Str'Length) / 2;
          Indent : constant String (1 .. Spaces) := (others => ' ');
       begin
index 3d82330dac1e57e9be7f630807720bed04d69891..8c1e112669a6082f72fe738ca23c284c4b1a8b95 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 2000-2005, AdaCore                     --
+--                     Copyright (C) 2000-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -122,7 +122,7 @@ package GNAT.Dynamic_Tables is
    --  previously allocated larger table). Init must be called before using
    --  the table. Init is convenient in reestablishing a table for new use.
 
-   function Last (T : in Instance) return Table_Index_Type;
+   function Last (T : Instance) return Table_Index_Type;
    pragma Inline (Last);
    --  Returns the current value of the last used entry in the table,
    --  which can then be used as a subscript for Table. Note that the
index 1cb07881f12509249faf327840ad996c19658d3b..c4902b51d0e9dca9a1b02d01904b085177e30e03 100644 (file)
@@ -972,9 +972,9 @@ package body GNAT.Expect is
 
          for J in Args'Range loop
             Arg                     := new String (1 .. Args (J)'Length + 1);
-            Arg (1 .. Args (J)'Length)  := Args (J).all;
-            Arg (Arg'Last)              := ASCII.NUL;
-            Arg_List (J + 2 - Args'First)   := Arg.all'Access;
+            Arg (1 .. Args (J)'Length)    := Args (J).all;
+            Arg (Arg'Last)                := ASCII.NUL;
+            Arg_List (J + 2 - Args'First) := Arg.all'Access;
          end loop;
 
          Arg_List (Arg_List'Last) := null;
@@ -1163,8 +1163,8 @@ package body GNAT.Expect is
       Pipe1 : in out Pipe_Type;
       Pipe2 : in out Pipe_Type;
       Pipe3 : in out Pipe_Type;
-      Cmd   : in String;
-      Args  : in System.Address)
+      Cmd   : String;
+      Args  : System.Address)
    is
       pragma Warnings (Off, Pid);
 
index c5c762bc5698abc221f3d63502c550841172e49e..d7b5b1fc0f4b00227831292a3f464597b40545eb 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -122,7 +122,7 @@ package body GNAT.IO is
       Put (Current_Out, C);
    end Put;
 
-   procedure Put (File : in File_Type; C : Character) is
+   procedure Put (File : File_Type; C : Character) is
       procedure Put_Char (C : Character);
       pragma Import (C, Put_Char, "put_char");
 
@@ -167,7 +167,7 @@ package body GNAT.IO is
    -- Set_Output --
    ----------------
 
-   procedure Set_Output (File : in File_Type) is
+   procedure Set_Output (File : File_Type) is
    begin
       Current_Out := File;
    end Set_Output;
index b2fb8fa544d71f74e405f4749c0872307ad030e7..cf8b62a90f16e5ab412ea027df72b70e62cc1af9 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 2002-2005, AdaCore                     --
+--                     Copyright (C) 2002-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -1965,7 +1965,7 @@ package body GNAT.Perfect_Hash_Generators is
       procedure Build_Identical_Keys_Sets
         (Table : in out Vertex_Table_Type;
          Last  : in out Natural;
-         Pos   : in Natural);
+         Pos   : Natural);
       --  Build a list of keys subsets that are identical with the current
       --  position selection plus Pos. Once this routine is called, reduced
       --  words are sorted by subsets and each item (First, Last) in Sets
@@ -1989,7 +1989,7 @@ package body GNAT.Perfect_Hash_Generators is
       procedure Build_Identical_Keys_Sets
         (Table : in out Vertex_Table_Type;
          Last  : in out Natural;
-         Pos   : in Natural)
+         Pos   : Natural)
       is
          S : constant Vertex_Table_Type := Table (1 .. Last);
          C : constant Natural           := Pos;
index 3bceb9cce85f15197e50d745521281c762700158..7d2ce5bc14c7d59f250c29522f4343c70129ad13 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 1998-2005, AdaCore                     --
+--                     Copyright (C) 1998-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -428,7 +428,7 @@ package body GNAT.Spitbol is
       -- Copy --
       ----------
 
-      procedure Copy (From : in Table; To : in out Table) is
+      procedure Copy (From : Table; To : in out Table) is
          Elmt : Hash_Element_Ptr;
 
       begin
index 823ac030e20b07b58952cb9f1eee91e77aa3ed2a..c87a20ea8b853179a39955079c400dec7c3e4944 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 1997-2005, AdaCore                     --
+--                     Copyright (C) 1997-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -310,7 +310,7 @@ package GNAT.Spitbol is
       --  Clears all the elements of the given table, freeing associated
       --  storage. On return T is an empty table with no elements.
 
-      procedure Copy (From : in Table; To : in out Table);
+      procedure Copy (From : Table; To : in out Table);
       --  First all the elements of table To are cleared (as described for
       --  the Clear procedure above), then all the elements of table From
       --  are copied into To. In the case where the tables From and To have
index d133cf6e21e3346e8e82c3a09bc7002106117728..fdcf6b4c8c032351da6c7230db3d815f2dc7785f 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1997-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1997-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- --
@@ -152,7 +152,7 @@ procedure Gnatdll is
    -- Check --
    -----------
 
-   procedure Check (Filename : in String) is
+   procedure Check (Filename : String) is
    begin
       if not Is_Regular_File (Filename) then
          Raise_Exception
@@ -166,10 +166,10 @@ procedure Gnatdll is
 
    procedure Parse_Command_Line is
 
-      procedure Add_File (Filename : in String);
+      procedure Add_File (Filename : String);
       --  Add one file to the list of file to handle
 
-      procedure Add_Files_From_List (List_Filename : in String);
+      procedure Add_Files_From_List (List_Filename : String);
       --  Add the files listed in List_Filename (one by line) to the list
       --  of file to handle
 
@@ -207,7 +207,7 @@ procedure Gnatdll is
       -- Add_File --
       --------------
 
-      procedure Add_File (Filename : in String) is
+      procedure Add_File (Filename : String) is
       begin
          if Is_Ali (Filename) then
             Check (Filename);
@@ -239,7 +239,7 @@ procedure Gnatdll is
       -- Add_Files_From_List --
       -------------------------
 
-      procedure Add_Files_From_List (List_Filename : in String) is
+      procedure Add_Files_From_List (List_Filename : String) is
          File   : File_Type;
          Buffer : String (1 .. 500);
          Last   : Natural;
index e958052d2fce8cd13e7a06df24f21df848ccd135..54dbd457b92c27eb1d079b7f0edc01ebe04786b0 100644 (file)
@@ -79,7 +79,7 @@ package Interfaces.C is
    type char_array is array (size_t range <>) of aliased char;
    for char_array'Component_Size use CHAR_BIT;
 
-   function Is_Nul_Terminated (Item : in char_array) return Boolean;
+   function Is_Nul_Terminated (Item : char_array) return Boolean;
 
    function To_C
      (Item       : String;
index 154d88e5a2eb90d05086db9f2b4ba2ae71ed683c..d8edec7daf4930167530186798c9437f894e49e8 100644 (file)
@@ -379,93 +379,93 @@ package Lib.Xref is
    --  indicating procedures and functions. If the operation is abstract,
    --  these letters are replaced in the xref by 'x' and 'y' respectively.
 
-   Xref_Entity_Letters : array (Entity_Kind) of Character := (
-      E_Void                             => ' ',
-      E_Variable                         => '*',
-      E_Component                        => '*',
-      E_Constant                         => '*',
-      E_Discriminant                     => '*',
-
-      E_Loop_Parameter                   => '*',
-      E_In_Parameter                     => '*',
-      E_Out_Parameter                    => '*',
-      E_In_Out_Parameter                 => '*',
-      E_Generic_In_Out_Parameter         => '*',
-
-      E_Generic_In_Parameter             => '*',
-      E_Named_Integer                    => 'N',
-      E_Named_Real                       => 'N',
-      E_Enumeration_Type                 => 'E',  -- B for boolean
-      E_Enumeration_Subtype              => 'E',  -- B for boolean
-
-      E_Signed_Integer_Type              => 'I',
-      E_Signed_Integer_Subtype           => 'I',
-      E_Modular_Integer_Type             => 'M',
-      E_Modular_Integer_Subtype          => 'M',
-      E_Ordinary_Fixed_Point_Type        => 'O',
-
-      E_Ordinary_Fixed_Point_Subtype     => 'O',
-      E_Decimal_Fixed_Point_Type         => 'D',
-      E_Decimal_Fixed_Point_Subtype      => 'D',
-      E_Floating_Point_Type              => 'F',
-      E_Floating_Point_Subtype           => 'F',
-
-      E_Access_Type                      => 'P',
-      E_Access_Subtype                   => 'P',
-      E_Access_Attribute_Type            => 'P',
-      E_Allocator_Type                   => ' ',
-      E_General_Access_Type              => 'P',
-
-      E_Access_Subprogram_Type           => 'P',
-      E_Access_Protected_Subprogram_Type => 'P',
-      E_Anonymous_Access_Subprogram_Type => ' ',
+   Xref_Entity_Letters : array (Entity_Kind) of Character :=
+     (E_Void                                       => ' ',
+      E_Variable                                   => '*',
+      E_Component                                  => '*',
+      E_Constant                                   => '*',
+      E_Discriminant                               => '*',
+
+      E_Loop_Parameter                             => '*',
+      E_In_Parameter                               => '*',
+      E_Out_Parameter                              => '*',
+      E_In_Out_Parameter                           => '*',
+      E_Generic_In_Out_Parameter                   => '*',
+
+      E_Generic_In_Parameter                       => '*',
+      E_Named_Integer                              => 'N',
+      E_Named_Real                                 => 'N',
+      E_Enumeration_Type                           => 'E',  -- B for boolean
+      E_Enumeration_Subtype                        => 'E',  -- B for boolean
+
+      E_Signed_Integer_Type                        => 'I',
+      E_Signed_Integer_Subtype                     => 'I',
+      E_Modular_Integer_Type                       => 'M',
+      E_Modular_Integer_Subtype                    => 'M',
+      E_Ordinary_Fixed_Point_Type                  => 'O',
+
+      E_Ordinary_Fixed_Point_Subtype               => 'O',
+      E_Decimal_Fixed_Point_Type                   => 'D',
+      E_Decimal_Fixed_Point_Subtype                => 'D',
+      E_Floating_Point_Type                        => 'F',
+      E_Floating_Point_Subtype                     => 'F',
+
+      E_Access_Type                                => 'P',
+      E_Access_Subtype                             => 'P',
+      E_Access_Attribute_Type                      => 'P',
+      E_Allocator_Type                             => ' ',
+      E_General_Access_Type                        => 'P',
+
+      E_Access_Subprogram_Type                     => 'P',
+      E_Access_Protected_Subprogram_Type           => 'P',
+      E_Anonymous_Access_Subprogram_Type           => ' ',
       E_Anonymous_Access_Protected_Subprogram_Type => ' ',
-      E_Anonymous_Access_Type            => ' ',
-      E_Array_Type                       => 'A',
-      E_Array_Subtype                    => 'A',
-
-      E_String_Type                      => 'S',
-      E_String_Subtype                   => 'S',
-      E_String_Literal_Subtype           => ' ',
-      E_Class_Wide_Type                  => 'C',
-
-      E_Class_Wide_Subtype               => 'C',
-      E_Record_Type                      => 'R',
-      E_Record_Subtype                   => 'R',
-      E_Record_Type_With_Private         => 'R',
-      E_Record_Subtype_With_Private      => 'R',
-
-      E_Private_Type                     => '+',
-      E_Private_Subtype                  => '+',
-      E_Limited_Private_Type             => '+',
-      E_Limited_Private_Subtype          => '+',
-      E_Incomplete_Type                  => '+',
-
-      E_Task_Type                        => 'T',
-      E_Task_Subtype                     => 'T',
-      E_Protected_Type                   => 'W',
-      E_Protected_Subtype                => 'W',
-      E_Exception_Type                   => ' ',
-
-      E_Subprogram_Type                  => ' ',
-      E_Enumeration_Literal              => 'n',
-      E_Function                         => 'V',
-      E_Operator                         => 'V',
-      E_Procedure                        => 'U',
-
-      E_Entry                            => 'Y',
-      E_Entry_Family                     => 'Y',
-      E_Block                            => 'q',
-      E_Entry_Index_Parameter            => '*',
-      E_Exception                        => 'X',
-
-      E_Generic_Function                 => 'v',
-      E_Generic_Package                  => 'k',
-      E_Generic_Procedure                => 'u',
-      E_Label                            => 'L',
-      E_Loop                             => 'l',
-
-      E_Package                          => 'K',
+      E_Anonymous_Access_Type                      => ' ',
+
+      E_Array_Type                                 => 'A',
+      E_Array_Subtype                              => 'A',
+      E_String_Type                                => 'S',
+      E_String_Subtype                             => 'S',
+      E_String_Literal_Subtype                     => ' ',
+
+      E_Class_Wide_Type                            => 'C',
+      E_Class_Wide_Subtype                         => 'C',
+      E_Record_Type                                => 'R',
+      E_Record_Subtype                             => 'R',
+      E_Record_Type_With_Private                   => 'R',
+
+      E_Record_Subtype_With_Private                => 'R',
+      E_Private_Type                               => '+',
+      E_Private_Subtype                            => '+',
+      E_Limited_Private_Type                       => '+',
+      E_Limited_Private_Subtype                    => '+',
+
+      E_Incomplete_Type                            => '+',
+      E_Task_Type                                  => 'T',
+      E_Task_Subtype                               => 'T',
+      E_Protected_Type                             => 'W',
+      E_Protected_Subtype                          => 'W',
+
+      E_Exception_Type                             => ' ',
+      E_Subprogram_Type                            => ' ',
+      E_Enumeration_Literal                        => 'n',
+      E_Function                                   => 'V',
+      E_Operator                                   => 'V',
+
+      E_Procedure                                  => 'U',
+      E_Entry                                      => 'Y',
+      E_Entry_Family                               => 'Y',
+      E_Block                                      => 'q',
+      E_Entry_Index_Parameter                      => '*',
+
+      E_Exception                                  => 'X',
+      E_Generic_Function                           => 'v',
+      E_Generic_Package                            => 'k',
+      E_Generic_Procedure                          => 'u',
+      E_Label                                      => 'L',
+
+      E_Loop                                       => 'l',
+      E_Package                                    => 'K',
 
       --  The following entities are not ones to which we gather
       --  cross-references, since it does not make sense to do so
@@ -473,11 +473,11 @@ package Lib.Xref is
       --  Indeed the occurrence of the body entity is considered to
       --  be a reference to the spec entity.
 
-      E_Package_Body                     => ' ',
-      E_Protected_Object                 => ' ',
-      E_Protected_Body                   => ' ',
-      E_Task_Body                        => ' ',
-      E_Subprogram_Body                  => ' ');
+      E_Package_Body                               => ' ',
+      E_Protected_Object                           => ' ',
+      E_Protected_Body                             => ' ',
+      E_Task_Body                                  => ' ',
+      E_Subprogram_Body                            => ' ');
 
    --  The following table is for information purposes. It shows the
    --  use of each character appearing as an entity type.
index c96396defb1239e08303eb7f745508b86ce38448..66ee95b92b315de2503c0a0a20cc5f83d0914357 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2004-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2004-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- --
@@ -2086,7 +2086,7 @@ package body Makegpr is
 
    procedure Compile
      (Source_Id    : Other_Source_Id;
-      Data         : in Project_Data;
+      Data         : Project_Data;
       Local_Errors : in out Boolean)
    is
       Source  : Other_Source :=
index a9cf026083be903cb8b10fa1ad5a01b3e52be046..2e7ae46ee9ecac03e0766809f1851cd9456481cf 100644 (file)
@@ -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- --
@@ -483,7 +483,7 @@ package body MDLL is
    -- Get_Dll_Name --
    ------------------
 
-   function Get_Dll_Name (Lib_Filename : in String) return String is
+   function Get_Dll_Name (Lib_Filename : String) return String is
    begin
       if MDLL.Fil.Get_Ext (Lib_Filename) = "" then
          return Lib_Filename & ".dll";
index 3144451a9de1958dfdd0e2d9b0334463d19ecdd2..cad17478766be88b8c706ae476d8e10464249ac1 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 2001-2005, AdaCore                     --
+--                     Copyright (C) 2001-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -45,6 +45,7 @@ package body MLib.Fil is
       return     String
    is
       use Strings.Fixed;
+
       J : constant Natural :=
             Index (Source  =>  Filename,
                    Pattern => ".",
@@ -71,7 +72,7 @@ package body MLib.Fil is
    -- Get_Ext --
    -------------
 
-   function Get_Ext (Filename : in String) return String is
+   function Get_Ext (Filename : String) return String is
       use Strings.Fixed;
 
       J : constant Natural :=
@@ -93,7 +94,6 @@ package body MLib.Fil is
 
    function Is_Archive (Filename : String) return Boolean is
       Ext : constant String := Get_Ext (Filename);
-
    begin
       return Target.Is_Archive_Ext (Ext);
    end Is_Archive;
@@ -102,9 +102,8 @@ package body MLib.Fil is
    -- Is_C --
    ----------
 
-   function Is_C (Filename : in String) return Boolean is
+   function Is_C (Filename : String) return Boolean is
       Ext : constant String := Get_Ext (Filename);
-
    begin
       return Target.Is_C_Ext (Ext);
    end Is_C;
@@ -113,9 +112,8 @@ package body MLib.Fil is
    -- Is_Obj --
    ------------
 
-   function Is_Obj (Filename : in String) return Boolean is
+   function Is_Obj (Filename : String) return Boolean is
       Ext : constant String := Get_Ext (Filename);
-
    begin
       return Target.Is_Object_Ext (Ext);
    end Is_Obj;
index 91c6b9c3e03b8365fa5338ecb47c22fb7c3b4526..ab0689b94596aeb79c78924de4f22c658b2849a5 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 2002-2005, AdaCore                     --
+--                     Copyright (C) 2002-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -60,10 +60,8 @@ package body MLib.Utl is
       Full_Output_File : constant String :=
                              Ext_To (Output_File, Archive_Ext);
 
-      Arguments : OS_Lib.Argument_List_Access;
-
-      Success   : Boolean;
-
+      Arguments   : OS_Lib.Argument_List_Access;
+      Success     : Boolean;
       Line_Length : Natural := 0;
 
    begin
@@ -128,8 +126,8 @@ package body MLib.Utl is
    -- Delete_File --
    -----------------
 
-   procedure Delete_File (Filename : in String) is
-      File   : constant String := Filename & ASCII.Nul;
+   procedure Delete_File (Filename : String) is
+      File    : constant String := Filename & ASCII.Nul;
       Success : Boolean;
 
    begin
@@ -174,7 +172,8 @@ package body MLib.Utl is
       Lib_Opt : constant OS_Lib.String_Access :=
                   new String'(Dynamic_Option);
 
-      Driver  : String_Access;
+      Driver    : String_Access;
+
    begin
       Utl.Initialize;
 
index bb38c8018b2a47faca7a9eb920b8d336e14892d3..0050110bf99158b9183a784884c30c9c75fbb090 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---                     Copyright (C) 2001-2005, AdaCore                     --
+--                     Copyright (C) 2001-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -29,7 +29,7 @@
 
 package MLib.Utl is
 
-   procedure Delete_File (Filename : in String);
+   procedure Delete_File (Filename : String);
    --  Delete the file Filename
    --  Why is this different from the standard OS_Lib routine???
 
index d1a6b52c66ce7fc8f01675ac1fa7b85dd459ec40..fd511d7068939e1441050b89dd3cbe4951060e86 100644 (file)
@@ -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- --
@@ -1414,7 +1414,7 @@ package body Osint is
    -- Is_Readonly_Library --
    -------------------------
 
-   function Is_Readonly_Library (File : in File_Name_Type) return Boolean is
+   function Is_Readonly_Library (File : File_Name_Type) return Boolean is
    begin
       Get_Name_String (File);
 
index 13c66a78be6f5a067039734e21bb966a70d74937..31a975554b29f2a4ba7832be7ab8aec67cbf147a 100644 (file)
@@ -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- --
@@ -299,7 +299,7 @@ begin
    --  If current unit is a child unit spec, load its parent. If the child unit
    --  is loaded through a limited with, the parent must be as well.
 
-   elsif     Nkind (Unit (Curunit)) = N_Package_Declaration
+   elsif     Nkind (Unit (Curunit)) =  N_Package_Declaration
      or else Nkind (Unit (Curunit)) =  N_Subprogram_Declaration
      or else Nkind (Unit (Curunit)) in N_Generic_Declaration
      or else Nkind (Unit (Curunit)) in N_Generic_Instantiation
index c20be6dd7395b57c3c9e2151a10830617b3d86dd..c6668a5599f3fae2986cacaca540950007b50849 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2001-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2001-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- --
@@ -120,7 +120,8 @@ package body Prj.Env is
    --  Call Setenv, after calling To_Host_File_Spec
 
    function Ultimate_Extension_Of
-     (Project : in Project_Id; In_Tree : Project_Tree_Ref) return Project_Id;
+     (Project : Project_Id;
+      In_Tree : Project_Tree_Ref) return Project_Id;
    --  Return a project that is either Project or an extended ancestor of
    --  Project that itself is not extended.
 
@@ -2405,7 +2406,8 @@ package body Prj.Env is
    ---------------------------
 
    function Ultimate_Extension_Of
-     (Project : Project_Id; In_Tree : Project_Tree_Ref) return Project_Id
+     (Project : Project_Id;
+      In_Tree : Project_Tree_Ref) return Project_Id
    is
       Result : Project_Id := Project;
 
index 016568c749df2a548d9b3925fe9888b718c52581..3bd65344022ece85eb8cbd7419acd4292f7c8782 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2001-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2001-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- --
@@ -1429,7 +1429,7 @@ package body Prj.Tree is
    -- Restore --
    -------------
 
-   procedure Restore (S : in Comment_State) is
+   procedure Restore (S : Comment_State) is
    begin
       End_Of_Line_Node   := S.End_Of_Line_Node;
       Previous_Line_Node := S.Previous_Line_Node;
index d5784c09e2bd686aff6a183111815724473def64..c3bdfd0665c4ccaa2c5e7c4ace8738b0ed59b78d 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 2001-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2001-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- --
@@ -122,7 +122,7 @@ package Prj.Tree is
    --  Save in variable S the comment state. Called before scanning a new
    --  project file.
 
-   procedure Restore (S : in Comment_State);
+   procedure Restore (S : Comment_State);
    --  Restore the comment state to a previously saved value. Called after
    --  scanning a project file.
 
index 716817d4ef0a0e35b56c4a6cc9f8075b90271a18..efc0a68749c46136857ddc929ae74697664438f0 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 2001-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2001-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- --
@@ -357,7 +357,7 @@ package body Prj.Util is
    -- Open --
    ----------
 
-   procedure Open (File : out Text_File; Name : in String) is
+   procedure Open (File : out Text_File; Name : String) is
       FD        : File_Descriptor;
       File_Name : String (1 .. Name'Length + 1);
 
index 9d0886cd06b5279a1dda05e8d050501f220f30a0..f12c1eb1c832df1e9d91a15d10c5529483514cfc 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2005, 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- --
index 418c9b2d6c360ce166913a924f533bdaa0c30a6a..d91e08d462f755ea7ea1db104ef407669c7a329f 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 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,7 +83,7 @@ package body System.Arith_64 is
    pragma Inline (Hi);
    --  High order half of 64-bit value
 
-   procedure Sub3 (X1, X2, X3 : in out Uns32; Y1, Y2, Y3 : in Uns32);
+   procedure Sub3 (X1, X2, X3 : in out Uns32; Y1, Y2, Y3 : Uns32);
    --  Computes X1&X2&X3 := X1&X2&X3 - Y1&Y1&Y3 with mod 2**96 wrap
 
    function To_Neg_Int (A : Uns64) return Int64;
@@ -542,7 +542,7 @@ package body System.Arith_64 is
          D (3) := Lo (T2) or Hi (T3);
          D (4) := Lo (T3);
 
-         --  Loop to compute quotient digits, runs twice for Qd(1) and Qd(2).
+         --  Loop to compute quotient digits, runs twice for Qd(1) and Qd(2)
 
          for J in 0 .. 1 loop
 
@@ -630,7 +630,7 @@ package body System.Arith_64 is
    -- Sub3 --
    ----------
 
-   procedure Sub3 (X1, X2, X3 : in out Uns32; Y1, Y2, Y3 : in Uns32) is
+   procedure Sub3 (X1, X2, X3 : in out Uns32; Y1, Y2, Y3 : Uns32) is
    begin
       if Y3 > X3 then
          if X2 = 0 then
index 53989d30ce50d3801f91872fb9cc5b698f85702e..8b928479b47686bc4fbee471c755882d1abb0dcb 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1996-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1996-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- --
@@ -41,15 +41,14 @@ package System.AST_Handling is
 
    function Create_AST_Handler
      (Taskid  : Ada.Task_Identification.Task_Id;
-      Entryno : Natural)
-      return    System.Aux_DEC.AST_Handler;
+      Entryno : Natural) return System.Aux_DEC.AST_Handler;
    --  This function implements the appropriate semantics for a use of the
    --  AST_Entry pragma. See body for details of implementation approach.
    --  The parameters are the Task_Id for the task containing the entry
    --  and the entry Index for the specified entry.
 
    procedure Expand_AST_Packet_Pool
-     (Requested_Packets : in Natural;
+     (Requested_Packets : Natural;
       Actual_Number     : out Natural;
       Total_Number      : out Natural);
    --  This function takes a request for zero or more extra AST packets and
index 0344b7d1a6ca505f3c5b0240f230cef706cf3353..843d7d49ae73c3c3a7c67f6b35bc3f297a4e0735 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 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- --
@@ -318,7 +318,7 @@ package body System.Aux_DEC is
    procedure Clear_Interlocked
      (Bit          : in out Boolean;
       Old_Value    : out Boolean;
-      Retry_Count  : in Natural;
+      Retry_Count  : Natural;
       Success_Flag : out Boolean)
    is
       pragma Warnings (Off, Retry_Count);
@@ -349,7 +349,7 @@ package body System.Aux_DEC is
    procedure Set_Interlocked
      (Bit          : in out Boolean;
       Old_Value    : out Boolean;
-      Retry_Count  : in Natural;
+      Retry_Count  : Natural;
       Success_Flag : out Boolean)
    is
       pragma Warnings (Off, Retry_Count);
@@ -367,9 +367,9 @@ package body System.Aux_DEC is
    ---------------------
 
    procedure Add_Interlocked
-     (Addend       : in Short_Integer;
-      Augend       : in out Aligned_Word;
-      Sign         : out Integer)
+     (Addend : Short_Integer;
+      Augend : in out Aligned_Word;
+      Sign   : out Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -391,8 +391,8 @@ package body System.Aux_DEC is
    ----------------
 
    procedure Add_Atomic
-     (To           : in out Aligned_Integer;
-      Amount       : in Integer)
+     (To     : in out Aligned_Integer;
+      Amount : Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -402,8 +402,8 @@ package body System.Aux_DEC is
 
    procedure Add_Atomic
      (To           : in out Aligned_Integer;
-      Amount       : in Integer;
-      Retry_Count  : in Natural;
+      Amount       : Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Integer;
       Success_Flag : out Boolean)
    is
@@ -418,8 +418,8 @@ package body System.Aux_DEC is
    end Add_Atomic;
 
    procedure Add_Atomic
-     (To           : in out Aligned_Long_Integer;
-      Amount       : in Long_Integer)
+     (To     : in out Aligned_Long_Integer;
+      Amount : Long_Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -429,8 +429,8 @@ package body System.Aux_DEC is
 
    procedure Add_Atomic
      (To           : in out Aligned_Long_Integer;
-      Amount       : in Long_Integer;
-      Retry_Count  : in Natural;
+      Amount       : Long_Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Long_Integer;
       Success_Flag : out Boolean)
    is
@@ -458,8 +458,8 @@ package body System.Aux_DEC is
    function From_LU is new Unchecked_Conversion (LU, Long_Integer);
 
    procedure And_Atomic
-     (To           : in out Aligned_Integer;
-      From         : in Integer)
+     (To   : in out Aligned_Integer;
+      From : Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -469,8 +469,8 @@ package body System.Aux_DEC is
 
    procedure And_Atomic
      (To           : in out Aligned_Integer;
-      From         : in Integer;
-      Retry_Count  : in Natural;
+      From         : Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Integer;
       Success_Flag : out Boolean)
    is
@@ -485,8 +485,8 @@ package body System.Aux_DEC is
    end And_Atomic;
 
    procedure And_Atomic
-     (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer)
+     (To   : in out Aligned_Long_Integer;
+      From : Long_Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -496,8 +496,8 @@ package body System.Aux_DEC is
 
    procedure And_Atomic
      (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer;
-      Retry_Count  : in Natural;
+      From         : Long_Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Long_Integer;
       Success_Flag : out Boolean)
    is
@@ -516,8 +516,8 @@ package body System.Aux_DEC is
    ---------------
 
    procedure Or_Atomic
-     (To           : in out Aligned_Integer;
-      From         : in Integer)
+     (To   : in out Aligned_Integer;
+      From : Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -527,8 +527,8 @@ package body System.Aux_DEC is
 
    procedure Or_Atomic
      (To           : in out Aligned_Integer;
-      From         : in Integer;
-      Retry_Count  : in Natural;
+      From         : Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Integer;
       Success_Flag : out Boolean)
    is
@@ -543,8 +543,8 @@ package body System.Aux_DEC is
    end Or_Atomic;
 
    procedure Or_Atomic
-     (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer)
+     (To   : in out Aligned_Long_Integer;
+      From : Long_Integer)
    is
    begin
       SSL.Lock_Task.all;
@@ -554,8 +554,8 @@ package body System.Aux_DEC is
 
    procedure Or_Atomic
      (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer;
-      Retry_Count  : in Natural;
+      From         : Long_Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Long_Integer;
       Success_Flag : out Boolean)
    is
@@ -590,8 +590,8 @@ package body System.Aux_DEC is
    ------------
 
    procedure Insqhi
-     (Item   : in  Address;
-      Header : in  Address;
+     (Item   : Address;
+      Header : Address;
       Status : out Insq_Status)
    is
       Hedr : constant QR_Ptr := To_QR_Ptr (Header);
@@ -621,7 +621,7 @@ package body System.Aux_DEC is
    ------------
 
    procedure Remqhi
-     (Header : in  Address;
+     (Header : Address;
       Item   : out Address;
       Status : out Remq_Status)
    is
@@ -656,8 +656,8 @@ package body System.Aux_DEC is
    ------------
 
    procedure Insqti
-     (Item   : in  Address;
-      Header : in  Address;
+     (Item   : Address;
+      Header : Address;
       Status : out Insq_Status)
    is
       Hedr : constant QR_Ptr := To_QR_Ptr (Header);
@@ -687,7 +687,7 @@ package body System.Aux_DEC is
    ------------
 
    procedure Remqti
-     (Header : in  Address;
+     (Header : Address;
       Item   : out Address;
       Status : out Remq_Status)
    is
index 0a0bd35fa474ba25c45be854cf436aaaec9e1c64..72e09aaad45c208b81ce4f198a2305693bc48e64 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1996-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1996-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- --
@@ -209,13 +209,13 @@ package System.Aux_DEC is
    type Unsigned_Quadword_Array is
       array (Integer range <>) of Unsigned_Quadword;
 
-   function To_Address      (X : Integer)           return Address;
+   function To_Address (X : Integer) return Address;
    pragma Pure_Function (To_Address);
 
    function To_Address_Long (X : Unsigned_Longword) return Address;
    pragma Pure_Function (To_Address_Long);
 
-   function To_Integer      (X : Address)           return Integer;
+   function To_Integer (X : Address) return Integer;
 
    function To_Unsigned_Longword (X : Address)     return Unsigned_Longword;
    function To_Unsigned_Longword (X : AST_Handler) return Unsigned_Longword;
@@ -288,17 +288,17 @@ package System.Aux_DEC is
    procedure Clear_Interlocked
      (Bit          : in out Boolean;
       Old_Value    : out Boolean;
-      Retry_Count  : in Natural;
+      Retry_Count  : Natural;
       Success_Flag : out Boolean);
 
    procedure Set_Interlocked
      (Bit          : in out Boolean;
       Old_Value    : out Boolean;
-      Retry_Count  : in Natural;
+      Retry_Count  : Natural;
       Success_Flag : out Boolean);
 
    procedure Add_Interlocked
-     (Addend       : in Short_Integer;
+     (Addend       : Short_Integer;
       Augend       : in out Aligned_Word;
       Sign         : out Integer);
 
@@ -322,67 +322,67 @@ package System.Aux_DEC is
 
    procedure Add_Atomic
      (To           : in out Aligned_Integer;
-      Amount       : in Integer);
+      Amount       : Integer);
 
    procedure Add_Atomic
      (To           : in out Aligned_Integer;
-      Amount       : in Integer;
-      Retry_Count  : in Natural;
+      Amount       : Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Integer;
       Success_Flag : out Boolean);
 
    procedure Add_Atomic
      (To           : in out Aligned_Long_Integer;
-      Amount       : in Long_Integer);
+      Amount       : Long_Integer);
 
    procedure Add_Atomic
      (To           : in out Aligned_Long_Integer;
-      Amount       : in Long_Integer;
-      Retry_Count  : in Natural;
+      Amount       : Long_Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Long_Integer;
       Success_Flag : out Boolean);
 
    procedure And_Atomic
      (To           : in out Aligned_Integer;
-      From         : in Integer);
+      From         : Integer);
 
    procedure And_Atomic
      (To           : in out Aligned_Integer;
-      From         : in Integer;
-      Retry_Count  : in Natural;
+      From         : Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Integer;
       Success_Flag : out Boolean);
 
    procedure And_Atomic
      (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer);
+      From         : Long_Integer);
 
    procedure And_Atomic
      (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer;
-      Retry_Count  : in Natural;
+      From         : Long_Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Long_Integer;
       Success_Flag : out Boolean);
 
    procedure Or_Atomic
      (To           : in out Aligned_Integer;
-      From         : in Integer);
+      From         : Integer);
 
    procedure Or_Atomic
      (To           : in out Aligned_Integer;
-      From         : in Integer;
-      Retry_Count  : in Natural;
+      From         : Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Integer;
       Success_Flag : out Boolean);
 
    procedure Or_Atomic
      (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer);
+      From         : Long_Integer);
 
    procedure Or_Atomic
      (To           : in out Aligned_Long_Integer;
-      From         : in Long_Integer;
-      Retry_Count  : in Natural;
+      From         : Long_Integer;
+      Retry_Count  : Natural;
       Old_Value    : out Long_Integer;
       Success_Flag : out Boolean);
 
@@ -407,22 +407,22 @@ package System.Aux_DEC is
       OK_Empty       => +2);
 
    procedure Insqhi
-     (Item   : in  Address;
-      Header : in  Address;
+     (Item   : Address;
+      Header : Address;
       Status : out Insq_Status);
 
    procedure Remqhi
-     (Header : in  Address;
+     (Header : Address;
       Item   : out Address;
       Status : out Remq_Status);
 
    procedure Insqti
-     (Item   : in  Address;
-      Header : in  Address;
+     (Item   : Address;
+      Header : Address;
       Status : out Insq_Status);
 
    procedure Remqti
-     (Header : in  Address;
+     (Header : Address;
       Item   : out Address;
       Status : out Remq_Status);
 
index 27d840fb7a8a8ee427db0193204b9e0773375f38..0ebe68ec2b5582dc2c3a5990139f9cc368c397bb 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---       Copyright (C) 1992-1996, 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- --
@@ -43,9 +43,9 @@ package System.Checked_Pools is
 
    procedure Dereference
      (Pool                     : in out Checked_Pool;
-      Storage_Address          : in Address;
-      Size_In_Storage_Elements : in System.Storage_Elements.Storage_Count;
-      Alignment                : in System.Storage_Elements.Storage_Count)
+      Storage_Address          : Address;
+      Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
+      Alignment                : System.Storage_Elements.Storage_Count)
    is abstract;
    --  Called implicitly each time a pointer to a checked pool is dereferenced
    --  All parameters in the profile are compatible with the profile of
index 56bc45de9cf18a9e013cc2a763270e9ded0fd379..7bb3e52142a5e33466ca2e2172b1f6ad3860de51 100644 (file)
@@ -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- --
@@ -31,9 +31,9 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
-with Ada.IO_Exceptions;         use Ada.IO_Exceptions;
-with Interfaces.C_Streams;      use Interfaces.C_Streams;
-with System;                    use System;
+with Ada.IO_Exceptions;      use Ada.IO_Exceptions;
+with Interfaces.C_Streams;   use Interfaces.C_Streams;
+with System;                 use System;
 with System.CRTL;
 with System.File_IO;
 with System.Soft_Links;
@@ -54,7 +54,7 @@ package body System.Direct_IO is
    -- Local Subprograms --
    -----------------------
 
-   procedure Set_Position (File : in File_Type);
+   procedure Set_Position (File : File_Type);
    --  Sets file position pointer according to value of current index
 
    -------------------
@@ -104,9 +104,9 @@ package body System.Direct_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in FCB.File_Mode := FCB.Inout_File;
-      Name : in String := "";
-      Form : in String := "")
+      Mode : FCB.File_Mode := FCB.Inout_File;
+      Name : String := "";
+      Form : String := "")
    is
       Dummy_File_Control_Block : Direct_AFCB;
       pragma Warnings (Off, Dummy_File_Control_Block);
@@ -128,7 +128,7 @@ package body System.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
       FIO.Check_Read_Status (AP (File));
       return Count (File.Index) > Size (File);
@@ -138,7 +138,7 @@ package body System.Direct_IO is
    -- Index --
    -----------
 
-   function Index (File : in File_Type) return Positive_Count is
+   function Index (File : File_Type) return Positive_Count is
    begin
       FIO.Check_File_Open (AP (File));
       return Count (File.Index);
@@ -150,9 +150,9 @@ package body System.Direct_IO is
 
    procedure Open
      (File : in out File_Type;
-      Mode : in FCB.File_Mode;
-      Name : in String;
-      Form : in String := "")
+      Mode : FCB.File_Mode;
+      Name : String;
+      Form : String := "")
    is
       Dummy_File_Control_Block : Direct_AFCB;
       pragma Warnings (Off, Dummy_File_Control_Block);
@@ -175,10 +175,10 @@ package body System.Direct_IO is
    ----------
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : Address;
-      Size : in Interfaces.C_Streams.size_t;
-      From : in Positive_Count)
+      Size : Interfaces.C_Streams.size_t;
+      From : Positive_Count)
    is
    begin
       Set_Index (File, From);
@@ -186,9 +186,9 @@ package body System.Direct_IO is
    end Read;
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : Address;
-      Size : in Interfaces.C_Streams.size_t)
+      Size : Interfaces.C_Streams.size_t)
    is
    begin
       FIO.Check_Read_Status (AP (File));
@@ -250,7 +250,7 @@ package body System.Direct_IO is
    -- Reset --
    -----------
 
-   procedure Reset (File : in out File_Type; Mode : in FCB.File_Mode) is
+   procedure Reset (File : in out File_Type; Mode : FCB.File_Mode) is
    begin
       FIO.Reset (AP (File), Mode);
       File.Index := 1;
@@ -268,7 +268,7 @@ package body System.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
       FIO.Check_File_Open (AP (File));
       File.Index := Count (To);
@@ -279,7 +279,7 @@ package body System.Direct_IO is
    -- Set_Position --
    ------------------
 
-   procedure Set_Position (File : in File_Type) is
+   procedure Set_Position (File : File_Type) is
    begin
       if fseek
            (File.Stream, long (File.Bytes) *
@@ -293,7 +293,7 @@ package body System.Direct_IO is
    -- Size --
    ----------
 
-   function Size (File : in File_Type) return Count is
+   function Size (File : File_Type) return Count is
    begin
       FIO.Check_File_Open (AP (File));
       File.Last_Op := Op_Other;
@@ -312,7 +312,7 @@ package body System.Direct_IO is
    procedure Write
      (File   : File_Type;
       Item   : Address;
-      Size   : in Interfaces.C_Streams.size_t;
+      Size   : Interfaces.C_Streams.size_t;
       Zeroes : System.Storage_Elements.Storage_Array)
 
    is
@@ -380,7 +380,7 @@ package body System.Direct_IO is
 
    procedure Write
      (File : in out Direct_AFCB;
-      Item : in Ada.Streams.Stream_Element_Array)
+      Item : Ada.Streams.Stream_Element_Array)
    is
    begin
       raise Program_Error;
index 408af205b9bea5f38c411de8d811b64011967dd9..756bcb25281c3ff6c2d6ab16e1db267442b1cdc1 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -77,7 +77,7 @@ package System.Direct_IO is
 
    procedure Write
      (File : in out Direct_AFCB;
-      Item : in Ada.Streams.Stream_Element_Array);
+      Item : Ada.Streams.Stream_Element_Array);
    --  Required overriding of Write, not actually used for Direct_IO
 
    type File_Type is access all Direct_AFCB;
@@ -85,43 +85,43 @@ package System.Direct_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in FCB.File_Mode := FCB.Inout_File;
-      Name : in String := "";
-      Form : in String := "");
+      Mode : FCB.File_Mode := FCB.Inout_File;
+      Name : String := "";
+      Form : String := "");
 
-   function End_Of_File (File : in File_Type) return Boolean;
+   function End_Of_File (File : File_Type) return Boolean;
 
-   function Index (File : in File_Type) return Positive_Count;
+   function Index (File : File_Type) return Positive_Count;
 
    procedure Open
      (File : in out File_Type;
-      Mode : in FCB.File_Mode;
-      Name : in String;
-      Form : in String := "");
+      Mode : FCB.File_Mode;
+      Name : String;
+      Form : String := "");
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : System.Address;
-      Size : in Interfaces.C_Streams.size_t;
-      From : in Positive_Count);
+      Size : Interfaces.C_Streams.size_t;
+      From : Positive_Count);
 
    procedure Read
-     (File : in File_Type;
+     (File : File_Type;
       Item : System.Address;
-      Size : in Interfaces.C_Streams.size_t);
+      Size : Interfaces.C_Streams.size_t);
 
-   procedure Reset (File : in out File_Type; Mode : in FCB.File_Mode);
+   procedure Reset (File : in out File_Type; Mode : FCB.File_Mode);
 
    procedure Reset (File : in out File_Type);
 
-   procedure Set_Index (File : in File_Type; To : in Positive_Count);
+   procedure Set_Index (File : File_Type; To : Positive_Count);
 
-   function Size (File : in File_Type) return Count;
+   function Size (File : File_Type) return Count;
 
    procedure Write
-     (File   : in File_Type;
+     (File   : File_Type;
       Item   : System.Address;
-      Size   : in Interfaces.C_Streams.size_t;
+      Size   : Interfaces.C_Streams.size_t;
       Zeroes : System.Storage_Elements.Storage_Array);
    --  Note: Zeroes is the buffer of zeroes used to fill out partial records
 
index 5b9a07618f28a0309a1889b1f291fcb4978c5cfa..783f845d1e43dbdb7ee3d764e0dade70506948a4 100644 (file)
@@ -6,8 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---             Copyright (C) 1991-1994, Florida State University            --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -51,7 +50,7 @@ package body System.Error_Reporting is
    -- Shutdown --
    --------------
 
-   function Shutdown (M : in String) return Boolean is
+   function Shutdown (M : String) return Boolean is
    begin
       Write (2, Shutdown_Message'Address, Shutdown_Message'Length);
       Write (2, M'Address, M'Length);
index 223d377f588c4d498fb4ad50b778ac8260c2b10d..930e020641953b08ebbe90f0f20ca5c52f4d6925 100644 (file)
@@ -6,8 +6,7 @@
 --                                                                          --
 --                                  S p e c                                 --
 --                                                                          --
---             Copyright (C) 1991-1994, Florida State University            --
---                     Copyright (C) 1995-2005, AdaCore                     --
+--                     Copyright (C) 1995-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -38,9 +37,9 @@
 package System.Error_Reporting is
    pragma Preelaborate;
 
-   function Shutdown (M : in String) return Boolean;
-   --  Perform emergency shutdown of the entire program.
-   --  Msg is an error message to be printed to the console.
-   --  This is to be used only for nonrecoverable errors.
+   function Shutdown (M : String) return Boolean;
+   --  Perform emergency shutdown of the entire program. Msg is an error
+   --  message to be printed to the console. This is to be used only for
+   --  nonrecoverable errors.
 
 end System.Error_Reporting;
index 6db630910f6d37df8f5d53a1b28d5460f2e501fa..4317cb3114286831457d52c2604e2832f6eefc08 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 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- --
@@ -77,7 +77,7 @@ package body System.File_IO is
    --  a controlled type introduced for this purpose.
 
    procedure Finalize (V : in out File_IO_Clean_Up_Type);
-   --  This is the finalize operation that is used to do the cleanup.
+   --  This is the finalize operation that is used to do the cleanup
 
    File_IO_Clean_Up_Object : File_IO_Clean_Up_Type;
    pragma Warnings (Off, File_IO_Clean_Up_Object);
@@ -88,7 +88,7 @@ package body System.File_IO is
    text_translation_required : Boolean;
    pragma Import
      (C, text_translation_required, "__gnat_text_translation_required");
-   --  If true, add appropriate suffix to control string for Open.
+   --  If true, add appropriate suffix to control string for Open
 
    -----------------------
    -- Local Subprograms --
@@ -491,7 +491,7 @@ package body System.File_IO is
    -- Form --
    ----------
 
-   function Form (File : in AFCB_Ptr) return String is
+   function Form (File : AFCB_Ptr) return String is
    begin
       if File = null then
          raise Status_Error;
@@ -607,7 +607,7 @@ package body System.File_IO is
    -- Is_Open --
    -------------
 
-   function Is_Open (File : in AFCB_Ptr) return Boolean is
+   function Is_Open (File : AFCB_Ptr) return Boolean is
    begin
       return (File /= null);
    end Is_Open;
@@ -658,7 +658,7 @@ package body System.File_IO is
    -- Mode --
    ----------
 
-   function Mode (File : in AFCB_Ptr) return File_Mode is
+   function Mode (File : AFCB_Ptr) return File_Mode is
    begin
       if File = null then
          raise Status_Error;
@@ -671,7 +671,7 @@ package body System.File_IO is
    -- Name --
    ----------
 
-   function Name (File : in AFCB_Ptr) return String is
+   function Name (File : AFCB_Ptr) return String is
    begin
       if File = null then
          raise Status_Error;
@@ -686,7 +686,7 @@ package body System.File_IO is
 
    procedure Open
      (File_Ptr  : in out AFCB_Ptr;
-      Dummy_FCB : in AFCB'Class;
+      Dummy_FCB : AFCB'Class;
       Mode      : File_Mode;
       Name      : String;
       Form      : String;
@@ -701,7 +701,7 @@ package body System.File_IO is
 
       procedure Tmp_Name (Buffer : Address);
       pragma Import (C, Tmp_Name, "__gnat_tmp_name");
-      --  set buffer (a String address) with a temporary filename.
+      --  set buffer (a String address) with a temporary filename
 
       Stream : FILEs := C_Stream;
       --  Stream which we open in response to this request
@@ -823,7 +823,7 @@ package body System.File_IO is
             Namestr (Name'Length + 1)  := ASCII.NUL;
          end if;
 
-         --  Get full name in accordance with the advice of RM A.8.2(22).
+         --  Get full name in accordance with the advice of RM A.8.2(22)
 
          full_name (Namestr'Address, Fullname'Address);
 
@@ -991,7 +991,7 @@ package body System.File_IO is
    procedure Read_Buf
      (File  : AFCB_Ptr;
       Buf   : Address;
-      Siz   : in Interfaces.C_Streams.size_t;
+      Siz   : Interfaces.C_Streams.size_t;
       Count : out Interfaces.C_Streams.size_t)
    is
    begin
@@ -1006,7 +1006,7 @@ package body System.File_IO is
    -- Reset --
    -----------
 
-   --  The reset which does not change the mode simply does a rewind.
+   --  The reset which does not change the mode simply does a rewind
 
    procedure Reset (File : in out AFCB_Ptr) is
    begin
@@ -1018,7 +1018,7 @@ package body System.File_IO is
    --  not permitted except for regular files (since otherwise there
    --  is no name for the freopen, and in any case it seems meaningless)
 
-   procedure Reset (File : in out AFCB_Ptr; Mode : in File_Mode) is
+   procedure Reset (File : in out AFCB_Ptr; Mode : File_Mode) is
       Fopstr : aliased Fopen_String;
 
    begin
index 75636ef5e455d45b41fae4b2976fa40876d4369c..6cd787104d10b2283858b2b1160cd1cc6d8e0287 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -49,7 +49,7 @@ package System.File_IO is
 
    procedure Open
      (File_Ptr  : in out FCB.AFCB_Ptr;
-      Dummy_FCB : in FCB.AFCB'Class;
+      Dummy_FCB : FCB.AFCB'Class;
       Mode      : FCB.File_Mode;
       Name      : String;
       Form      : String;
@@ -110,24 +110,24 @@ package System.File_IO is
    procedure Delete (File : in out FCB.AFCB_Ptr);
    --  The indicated file is unlinked
 
-   procedure Reset (File : in out FCB.AFCB_Ptr; Mode : in FCB.File_Mode);
-   --  The file is reset, and the mode changed as indicated.
+   procedure Reset (File : in out FCB.AFCB_Ptr; Mode : FCB.File_Mode);
+   --  The file is reset, and the mode changed as indicated
 
    procedure Reset (File : in out FCB.AFCB_Ptr);
    --  The files is reset, and the mode is unchanged
 
-   function Mode (File : in FCB.AFCB_Ptr) return FCB.File_Mode;
+   function Mode (File : FCB.AFCB_Ptr) return FCB.File_Mode;
    --  Returns the mode as supplied by create, open or reset
 
-   function Name (File : in FCB.AFCB_Ptr) return String;
+   function Name (File : FCB.AFCB_Ptr) return String;
    --  Returns the file name as supplied by Open or Create. Raises Use_Error
    --  if used with temporary files or standard files.
 
-   function Form (File : in FCB.AFCB_Ptr) return String;
+   function Form (File : FCB.AFCB_Ptr) return String;
    --  Returns the form as supplied by create, open or reset
    --  The string is normalized to all lower case letters.
 
-   function Is_Open (File : in FCB.AFCB_Ptr) return Boolean;
+   function Is_Open (File : FCB.AFCB_Ptr) return Boolean;
    --  Determines if file is open or not
 
    ----------------------
@@ -218,7 +218,7 @@ package System.File_IO is
    procedure Read_Buf
      (File  : FCB.AFCB_Ptr;
       Buf   : Address;
-      Siz   : in Interfaces.C_Streams.size_t;
+      Siz   : Interfaces.C_Streams.size_t;
       Count : out Interfaces.C_Streams.size_t);
    --  Reads Siz bytes from File.Stream into Buf. The caller has checked
    --  that the file is open in read mode. Device Error is raised if an error
index 559c29cf0d7f6661abf53e0e78ce27ed697ac45a..507a7575bdeba885e2c740302033fde6ed00fca6 100644 (file)
@@ -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- --
@@ -90,7 +90,7 @@ package body System.Finalization_Root is
 
    procedure Write
      (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
-      Item   : in Root_Controlled)
+      Item   : Root_Controlled)
    is
    begin
       null;
index f9847eb581891b5f84fca476aaed909d197c367e..3ea9a18b01a409b5d3efbb8e94bb53a3392da2a8 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---            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- --
@@ -63,7 +63,7 @@ package System.Finalization_Root is
 
    procedure Write
      (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
-      Item   : in Root_Controlled);
+      Item   : Root_Controlled);
 
    procedure Read
      (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
index ce7e4f7857fb24914ce974bdf1a3d1c3dc788eeb..183b8f9e43e0de107d17ad9a0a7b576c1c6cd7da 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                     Copyright (C) 1999-2005, AdaCore                     --
+--                     Copyright (C) 1999-2006, AdaCore                     --
 --                                                                          --
 -- 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- --
@@ -55,7 +55,7 @@ package body System.Global_Locks is
 
    procedure Create_Lock
      (Lock : out Lock_Type;
-      Name : in String)
+      Name : String)
    is
       L : Lock_Type;
 
index 17a30df166b95df9408985133bc763ff92471c2a..197b4a9abfc9fcd0c5999d39e8351626e8663167 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1999-2002 Free Software Foundation, Inc.          --
+--          Copyright (C) 1999-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- --
@@ -75,7 +75,7 @@ package body System.Global_Locks is
    -- Create_Lock --
    -----------------
 
-   procedure Create_Lock (Lock : out Lock_Type; Name : in String) is
+   procedure Create_Lock (Lock : out Lock_Type; Name : String) is
       L : Lock_Type;
 
    begin
index c345af4d7aa39f00fe451f3c33ca0855f61f3c23..03bfc0c3acf2b61f6333f470b35fb5f929691d68 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1999-2002 Free Software Foundation, Inc.          --
+--          Copyright (C) 1999-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- --
@@ -37,7 +37,7 @@
 package System.Global_Locks is
 
    Lock_Error : exception;
-   --  Exception raised if a request cannot be executed on a lock.
+   --  Exception raised if a request cannot be executed on a lock
 
    type Lock_Type is private;
    --  Such a lock is a global lock between partitions. This lock is
@@ -46,7 +46,7 @@ package System.Global_Locks is
    Null_Lock : constant Lock_Type;
    --  This needs comments ???
 
-   procedure Create_Lock (Lock : out Lock_Type; Name : in String);
+   procedure Create_Lock (Lock : out Lock_Type; Name : String);
    --  Create or retrieve a global lock for the current partition using
    --  its Name.
 
index 264976b45914fb26d1db187dea9bc64771abc66b..4a6a0af9b1281230b42c09434a4bd90f60cdafc7 100644 (file)
@@ -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- --
@@ -123,7 +123,7 @@ package body System.IO is
    -- Set_Output --
    ----------------
 
-   procedure Set_Output (File : in File_Type) is
+   procedure Set_Output (File : File_Type) is
    begin
       Current_Out := File;
    end Set_Output;
index 7ab099b847325adf908eb7e6862d554082365c98..c2797c2fbb5de867f9cdb6e3d8ae0cdf348e55d4 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -53,7 +53,7 @@ package System.IO is
    function Standard_Error return File_Type;
    function Standard_Output return File_Type;
 
-   procedure Set_Output (File : in File_Type);
+   procedure Set_Output (File : File_Type);
 
 private
 
index dfa7613977cd1b19d529ea528a27fa9c1f15f086..a812423142d04de572450e89211fa8db040a5b09 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1992-2004 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- --
@@ -37,7 +37,7 @@
 --  the presence of a master partition to run a test which is otherwise not
 --  distributed.
 
---  The GLADE distribution package includes a replacement for this file.
+--  The GLADE distribution package includes a replacement for this file
 
 with Ada.Exceptions; use Ada.Exceptions;
 
@@ -71,7 +71,7 @@ package body System.RPC is
 
    procedure Write
      (Stream : in out Params_Stream_Type;
-      Item   : in Ada.Streams.Stream_Element_Array)
+      Item   : Ada.Streams.Stream_Element_Array)
    is
    begin
       Raise_Exception (Program_Error'Identity, Msg);
@@ -82,7 +82,7 @@ package body System.RPC is
    ------------
 
    procedure Do_RPC
-     (Partition : in Partition_ID;
+     (Partition : Partition_ID;
       Params    : access Params_Stream_Type;
       Result    : access Params_Stream_Type)
    is
@@ -95,7 +95,7 @@ package body System.RPC is
    ------------
 
    procedure Do_APC
-     (Partition : in Partition_ID;
+     (Partition : Partition_ID;
       Params    : access Params_Stream_Type)
    is
    begin
@@ -107,8 +107,8 @@ package body System.RPC is
    ----------------------------
 
    procedure Establish_RPC_Receiver
-     (Partition : in Partition_ID;
-      Receiver  : in RPC_Receiver)
+     (Partition : Partition_ID;
+      Receiver  : RPC_Receiver)
    is
    begin
       null;
index bc23edfb034fc9a1d1cb6c426d3b1cb6fab5fc53..56e90e99806d06843784caa7f263c8d6f77c6e45 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-1998 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -61,22 +61,22 @@ package System.RPC is
 
    procedure Write
      (Stream : in out Params_Stream_Type;
-      Item   : in Ada.Streams.Stream_Element_Array);
+      Item   : Ada.Streams.Stream_Element_Array);
 
    --  Synchronous call
 
    procedure Do_RPC
-     (Partition  : in Partition_ID;
+     (Partition  : Partition_ID;
       Params     : access Params_Stream_Type;
       Result     : access Params_Stream_Type);
 
    --  Asynchronous call
 
    procedure Do_APC
-     (Partition  : in Partition_ID;
+     (Partition  : Partition_ID;
       Params     : access Params_Stream_Type);
 
-   --  The handler for incoming RPCs.
+   --  The handler for incoming RPCs
 
    type RPC_Receiver is
      access procedure
@@ -84,8 +84,8 @@ package System.RPC is
         Result     : access Params_Stream_Type);
 
    procedure Establish_RPC_Receiver (
-      Partition : in Partition_ID;
-      Receiver  : in RPC_Receiver);
+      Partition : Partition_ID;
+      Receiver  : RPC_Receiver);
 
 private
 
index 4ab259f6fbe840e9590791b69d8421a4962f1709..50e568211bacc7b8b052feb9c4e3d25839d5a0ac 100644 (file)
@@ -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- --
@@ -45,8 +45,7 @@ package body System.Sequential_IO is
    -------------------
 
    function AFCB_Allocate
-     (Control_Block : Sequential_AFCB)
-      return          FCB.AFCB_Ptr
+     (Control_Block : Sequential_AFCB) return FCB.AFCB_Ptr
    is
       pragma Warnings (Off, Control_Block);
 
@@ -90,9 +89,9 @@ package body System.Sequential_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in FCB.File_Mode := FCB.Out_File;
-      Name : in String := "";
-      Form : in String := "")
+      Mode : FCB.File_Mode := FCB.Out_File;
+      Name : String := "";
+      Form : String := "")
    is
       Dummy_File_Control_Block : Sequential_AFCB;
       pragma Warnings (Off, Dummy_File_Control_Block);
@@ -116,9 +115,9 @@ package body System.Sequential_IO is
 
    procedure Open
      (File : in out File_Type;
-      Mode : in FCB.File_Mode;
-      Name : in String;
-      Form : in String := "")
+      Mode : FCB.File_Mode;
+      Name : String;
+      Form : String := "")
    is
       Dummy_File_Control_Block : Sequential_AFCB;
       pragma Warnings (Off, Dummy_File_Control_Block);
@@ -159,7 +158,7 @@ package body System.Sequential_IO is
 
    procedure Write
      (File : in out Sequential_AFCB;
-      Item : in Ada.Streams.Stream_Element_Array)
+      Item : Ada.Streams.Stream_Element_Array)
    is
    begin
       raise Program_Error;
index 3ad99820ca99490ae2b8ecc67f74520df8309680..09c41aeb2c29e0affe5ffdca6a7c0881cf97c5a9 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---           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- --
@@ -46,8 +46,7 @@ package System.Sequential_IO is
    --  No additional fields required for Sequential_IO
 
    function AFCB_Allocate
-     (Control_Block : Sequential_AFCB)
-      return          FCB.AFCB_Ptr;
+     (Control_Block : Sequential_AFCB) return FCB.AFCB_Ptr;
 
    procedure AFCB_Close (File : access Sequential_AFCB);
    procedure AFCB_Free  (File : access Sequential_AFCB);
@@ -60,7 +59,7 @@ package System.Sequential_IO is
 
    procedure Write
      (File : in out Sequential_AFCB;
-      Item : in Ada.Streams.Stream_Element_Array);
+      Item : Ada.Streams.Stream_Element_Array);
    --  Required overriding of Write, not actually used for Sequential_IO
 
    type File_Type is access all Sequential_AFCB;
@@ -68,14 +67,14 @@ package System.Sequential_IO is
 
    procedure Create
      (File : in out File_Type;
-      Mode : in FCB.File_Mode := FCB.Out_File;
-      Name : in String := "";
-      Form : in String := "");
+      Mode : FCB.File_Mode := FCB.Out_File;
+      Name : String := "";
+      Form : String := "");
 
    procedure Open
      (File : in out File_Type;
-      Mode : in FCB.File_Mode;
-      Name : in String;
-      Form : in String := "");
+      Mode : FCB.File_Mode;
+      Name : String;
+      Form : String := "");
 
 end System.Sequential_IO;
index cddf945dbdbd1fc19347cacbfd541a96133142c0..77cfa7b64210f7a37e292445eff765cb7bb226bc 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1998-2003 Free Software Foundation, Inc.          --
+--          Copyright (C) 1998-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- --
@@ -198,7 +198,7 @@ package System.Shared_Storage is
    --  value. The storage is created by this call if it does not
    --  already exist.
 
-   procedure Shared_Var_Close (Var : in SIO.Stream_Access);
+   procedure Shared_Var_Close (Var : SIO.Stream_Access);
    --  This routine signals the end of a read/assign operation. It can
    --  be useful to embrace a read/write operation between a call to
    --  open and a call to close which protect the whole operation.
index c30ee9c46096d8d314d41e25a3cfcfcb1f507d95..16a8103f26d819e37ec592743743e0768317fda3 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -47,15 +47,15 @@ package System.Storage_Pools is
    procedure Allocate
      (Pool                     : in out Root_Storage_Pool;
       Storage_Address          : out Address;
-      Size_In_Storage_Elements : in System.Storage_Elements.Storage_Count;
-      Alignment                : in System.Storage_Elements.Storage_Count)
+      Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
+      Alignment                : System.Storage_Elements.Storage_Count)
    is abstract;
 
    procedure Deallocate
      (Pool                     : in out Root_Storage_Pool;
-      Storage_Address          : in Address;
-      Size_In_Storage_Elements : in System.Storage_Elements.Storage_Count;
-      Alignment                : in System.Storage_Elements.Storage_Count)
+      Storage_Address          : Address;
+      Size_In_Storage_Elements : System.Storage_Elements.Storage_Count;
+      Alignment                : System.Storage_Elements.Storage_Count)
    is abstract;
 
    function Storage_Size
index 810a1046ffa1a98484ff47781b5eaaadb845c4da..9601979ef9c0191d6c0715d853604a869e099e06 100644 (file)
@@ -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- --
@@ -465,9 +465,8 @@ package body System.Stream_Attributes is
    -- W_AD --
    ----------
 
-   procedure W_AD (Stream : not null access RST; Item : in Fat_Pointer) is
+   procedure W_AD (Stream : not null access RST; Item : Fat_Pointer) is
       T : constant S_AD := From_AD (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_AD;
@@ -476,9 +475,8 @@ package body System.Stream_Attributes is
    -- W_AS --
    ----------
 
-   procedure W_AS (Stream : not null access RST; Item : in Thin_Pointer) is
+   procedure W_AS (Stream : not null access RST; Item : Thin_Pointer) is
       T : constant S_AS := From_AS (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_AS;
@@ -487,9 +485,8 @@ package body System.Stream_Attributes is
    -- W_B --
    ---------
 
-   procedure W_B (Stream : not null access RST; Item : in Boolean) is
+   procedure W_B (Stream : not null access RST; Item : Boolean) is
       T : S_B;
-
    begin
       T (1) := Boolean'Pos (Item);
       Ada.Streams.Write (Stream.all, T);
@@ -499,9 +496,8 @@ package body System.Stream_Attributes is
    -- W_C --
    ---------
 
-   procedure W_C (Stream : not null access RST; Item : in Character) is
+   procedure W_C (Stream : not null access RST; Item : Character) is
       T : S_C;
-
    begin
       T (1) := Character'Pos (Item);
       Ada.Streams.Write (Stream.all, T);
@@ -511,9 +507,8 @@ package body System.Stream_Attributes is
    -- W_F --
    ---------
 
-   procedure W_F (Stream : not null access RST; Item : in Float) is
+   procedure W_F (Stream : not null access RST; Item : Float) is
       T : constant S_F := From_F (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_F;
@@ -522,9 +517,8 @@ package body System.Stream_Attributes is
    -- W_I --
    ---------
 
-   procedure W_I (Stream : not null access RST; Item : in Integer) is
+   procedure W_I (Stream : not null access RST; Item : Integer) is
       T : constant S_I := From_I (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_I;
@@ -533,9 +527,8 @@ package body System.Stream_Attributes is
    -- W_LF --
    ----------
 
-   procedure W_LF (Stream : not null access RST; Item : in Long_Float) is
+   procedure W_LF (Stream : not null access RST; Item : Long_Float) is
       T : constant S_LF := From_LF (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_LF;
@@ -544,9 +537,8 @@ package body System.Stream_Attributes is
    -- W_LI --
    ----------
 
-   procedure W_LI (Stream : not null access RST; Item : in Long_Integer) is
+   procedure W_LI (Stream : not null access RST; Item : Long_Integer) is
       T : constant S_LI := From_LI (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_LI;
@@ -555,9 +547,8 @@ package body System.Stream_Attributes is
    -- W_LLF --
    -----------
 
-   procedure W_LLF (Stream : not null access RST; Item : in Long_Long_Float) is
+   procedure W_LLF (Stream : not null access RST; Item : Long_Long_Float) is
       T : constant S_LLF := From_LLF (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_LLF;
@@ -567,10 +558,9 @@ package body System.Stream_Attributes is
    -----------
 
    procedure W_LLI
-     (Stream : not null access RST; Item : in Long_Long_Integer)
+     (Stream : not null access RST; Item : Long_Long_Integer)
    is
       T : constant S_LLI := From_LLI (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_LLI;
@@ -580,10 +570,9 @@ package body System.Stream_Attributes is
    -----------
 
    procedure W_LLU
-     (Stream : not null access RST; Item : in UST.Long_Long_Unsigned)
+     (Stream : not null access RST; Item : UST.Long_Long_Unsigned)
    is
       T : constant S_LLU := From_LLU (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_LLU;
@@ -593,10 +582,9 @@ package body System.Stream_Attributes is
    ----------
 
    procedure W_LU
-     (Stream : not null access RST; Item : in UST.Long_Unsigned)
+     (Stream : not null access RST; Item : UST.Long_Unsigned)
    is
       T : constant S_LU := From_LU (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_LU;
@@ -605,9 +593,8 @@ package body System.Stream_Attributes is
    -- W_SF --
    ----------
 
-   procedure W_SF (Stream : not null access RST; Item : in Short_Float) is
+   procedure W_SF (Stream : not null access RST; Item : Short_Float) is
       T : constant S_SF := From_SF (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_SF;
@@ -616,9 +603,8 @@ package body System.Stream_Attributes is
    -- W_SI --
    ----------
 
-   procedure W_SI (Stream : not null access RST; Item : in Short_Integer) is
+   procedure W_SI (Stream : not null access RST; Item : Short_Integer) is
       T : constant S_SI := From_SI (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_SI;
@@ -628,10 +614,9 @@ package body System.Stream_Attributes is
    -----------
 
    procedure W_SSI
-     (Stream : not null access RST; Item : in Short_Short_Integer)
+     (Stream : not null access RST; Item : Short_Short_Integer)
    is
       T : constant S_SSI := From_SSI (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_SSI;
@@ -641,10 +626,9 @@ package body System.Stream_Attributes is
    -----------
 
    procedure W_SSU
-     (Stream : not null access RST; Item : in UST.Short_Short_Unsigned)
+     (Stream : not null access RST; Item : UST.Short_Short_Unsigned)
    is
       T : constant S_SSU := From_SSU (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_SSU;
@@ -654,10 +638,9 @@ package body System.Stream_Attributes is
    ----------
 
    procedure W_SU
-     (Stream : not null access RST; Item : in UST.Short_Unsigned)
+     (Stream : not null access RST; Item : UST.Short_Unsigned)
    is
       T : constant S_SU := From_SU (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_SU;
@@ -666,9 +649,8 @@ package body System.Stream_Attributes is
    -- W_U --
    ---------
 
-   procedure W_U (Stream : not null access RST; Item : in UST.Unsigned) is
+   procedure W_U (Stream : not null access RST; Item : UST.Unsigned) is
       T : constant S_U := From_U (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_U;
@@ -677,9 +659,8 @@ package body System.Stream_Attributes is
    -- W_WC --
    ----------
 
-   procedure W_WC (Stream : not null access RST; Item : in Wide_Character) is
+   procedure W_WC (Stream : not null access RST; Item : Wide_Character) is
       T : constant S_WC := From_WC (Item);
-
    begin
       Ada.Streams.Write (Stream.all, T);
    end W_WC;
index eefebd4f243120ad03cbe536fe4e97e09ca11553..e0e9b0f5c6df1bb4160d7157c16447fd6c82da11 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -131,29 +131,29 @@ package System.Stream_Attributes is
    --  between 'Write and 'Output because there are no discriminants
    --  or bounds to be written.
 
-   procedure W_AD  (Stream : not null access RST; Item : in Fat_Pointer);
-   procedure W_AS  (Stream : not null access RST; Item : in Thin_Pointer);
-   procedure W_B   (Stream : not null access RST; Item : in Boolean);
-   procedure W_C   (Stream : not null access RST; Item : in Character);
-   procedure W_F   (Stream : not null access RST; Item : in Float);
-   procedure W_I   (Stream : not null access RST; Item : in Integer);
-   procedure W_LF  (Stream : not null access RST; Item : in Long_Float);
-   procedure W_LI  (Stream : not null access RST; Item : in Long_Integer);
-   procedure W_LLF (Stream : not null access RST; Item : in Long_Long_Float);
-   procedure W_LLI (Stream : not null access RST; Item : in Long_Long_Integer);
+   procedure W_AD  (Stream : not null access RST; Item : Fat_Pointer);
+   procedure W_AS  (Stream : not null access RST; Item : Thin_Pointer);
+   procedure W_B   (Stream : not null access RST; Item : Boolean);
+   procedure W_C   (Stream : not null access RST; Item : Character);
+   procedure W_F   (Stream : not null access RST; Item : Float);
+   procedure W_I   (Stream : not null access RST; Item : Integer);
+   procedure W_LF  (Stream : not null access RST; Item : Long_Float);
+   procedure W_LI  (Stream : not null access RST; Item : Long_Integer);
+   procedure W_LLF (Stream : not null access RST; Item : Long_Long_Float);
+   procedure W_LLI (Stream : not null access RST; Item : Long_Long_Integer);
    procedure W_LLU (Stream : not null access RST;
-                    Item   : in UST.Long_Long_Unsigned);
-   procedure W_LU  (Stream : not null access RST; Item : in UST.Long_Unsigned);
-   procedure W_SF  (Stream : not null access RST; Item : in Short_Float);
-   procedure W_SI  (Stream : not null access RST; Item : in Short_Integer);
+                    Item   : UST.Long_Long_Unsigned);
+   procedure W_LU  (Stream : not null access RST; Item : UST.Long_Unsigned);
+   procedure W_SF  (Stream : not null access RST; Item : Short_Float);
+   procedure W_SI  (Stream : not null access RST; Item : Short_Integer);
    procedure W_SSI (Stream : not null access RST;
-                    Item   : in Short_Short_Integer);
+                    Item   : Short_Short_Integer);
    procedure W_SSU (Stream : not null access RST;
-                    Item   : in UST.Short_Short_Unsigned);
+                    Item   : UST.Short_Short_Unsigned);
    procedure W_SU  (Stream : not null access RST;
-                    Item   : in UST.Short_Unsigned);
-   procedure W_U   (Stream : not null access RST; Item : in UST.Unsigned);
-   procedure W_WC  (Stream : not null access RST; Item : in Wide_Character);
+                    Item   : UST.Short_Unsigned);
+   procedure W_U   (Stream : not null access RST; Item : UST.Unsigned);
+   procedure W_WC  (Stream : not null access RST; Item : Wide_Character);
 
    ----------------------------
    -- Composite Input/Output --
index 9253862c89e74647955aa1cfe4794a1782a8b077..8d5bac29d8ce52d276009e4f433c1dffdc8ca742 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  B o d y                                 --
 --                                                                          --
---         Copyright (C) 1998-2005, Free Software Foundation, Inc.          --
+--         Copyright (C) 1998-2006, Free Software Foundation, Inc.          --
 --                                                                          --
 -- 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- --
@@ -174,9 +174,8 @@ package body System.Tasking.Async_Delays is
    ---------------------------
 
    function Enqueue_Duration
-     (T    : in Duration;
-      D    : Delay_Block_Access)
-      return Boolean
+     (T : Duration;
+      D : Delay_Block_Access) return Boolean
    is
    begin
       if T <= 0.0 then
@@ -380,7 +379,7 @@ package body System.Tasking.Async_Delays is
 
          while Timer_Queue.Succ.Resume_Time <= Now loop
 
-            --  Dequeue the waiting task from the front of the queue.
+            --  Dequeue the waiting task from the front of the queue
 
             pragma Debug (System.Tasking.Debug.Trace
               (Timer_Server_ID, "Timer service: waking up waiting task", 'E'));
index 25f3da340035579bc3b644c4d0f20dbd5f6aad67..4eecabff54f085154fc114accdc69c2e95281f0a 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  S p e c                                 --
 --                                                                          --
---          Copyright (C) 1998-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1998-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- 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- --
@@ -97,7 +97,7 @@ package System.Tasking.Async_Delays is
    type Delay_Block_Access is access all Delay_Block;
 
    function Enqueue_Duration
-     (T : in Duration;
+     (T : Duration;
       D : Delay_Block_Access) return Boolean;
    --  Enqueue the specified relative delay. Returns True if the delay has
    --  been enqueued, False if it has already expired. If the delay has been
index f9432540501d69ad14d21fa1f20db1754eff0ce7..2bd3fc78c2f064a737fa1fb0f13132417c08b1a0 100644 (file)
@@ -7,7 +7,7 @@
 --                                                                          --
 --                                B o d y                                   --
 --                                                                          --
---          Copyright (C) 1998-2005 Free Software Foundation, Inc.          --
+--          Copyright (C) 1998-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- 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- --
@@ -38,7 +38,7 @@ with System.Task_Primitives.Operations;
 with System.Tasking.Initialization;
 
 function System.Tasking.Async_Delays.Enqueue_RT
-  (T : in Ada.Real_Time.Time;
+  (T : Ada.Real_Time.Time;
    D : Delay_Block_Access) return Boolean
 is
    use type Ada.Real_Time.Time;  -- for "=" operator
index 6c0ef7a04e697071a7b63b7ea82d3e589690d63d..066dbf0ead5d65ca72ba9c566a8059cbcd287697 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  B o d y                                 --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- 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- --
@@ -41,9 +41,6 @@ with System.Task_Primitives.Operations;
 with System.Storage_Elements;
 --  Needed for initializing Stack_Info.Size
 
-with System.Parameters;
---  Used for Adjust_Storage_Size
-
 package body System.Tasking is
 
    package STPO renames System.Task_Primitives.Operations;
@@ -128,7 +125,7 @@ package body System.Tasking is
              (Parameters.Adjust_Storage_Size (Stack_Size));
       end if;
 
-      --  Link the task into the list of all tasks.
+      --  Link the task into the list of all tasks
 
       T.Common.All_Tasks_Link := All_Tasks_List;
       All_Tasks_List := T;
index 175b6b900087ae223be2136dbc9400005eb2ca8e..55b41c7fae92e2ccfa7e7d495a13505494982f51 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  B o d y                                 --
 --                                                                          --
---         Copyright (C) 1992-2005, Free Software Foundation, Inc.          --
+--         Copyright (C) 1992-2006, Free Software Foundation, Inc.          --
 --                                                                          --
 -- 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- --
@@ -52,7 +52,7 @@ package body System.Tasking.Queuing is
    use Protected_Objects;
    use Protected_Objects.Entries;
 
-   --  Entry Queues implemented as doubly linked list.
+   --  Entry Queues implemented as doubly linked list
 
    Queuing_Policy : Character;
    pragma Import (C, Queuing_Policy, "__gl_queuing_policy");
@@ -164,7 +164,7 @@ package body System.Tasking.Queuing is
 
    --  Return number of calls on the waiting queue of E
 
-   function Count_Waiting (E : in Entry_Queue) return Natural is
+   function Count_Waiting (E : Entry_Queue) return Natural is
       Count   : Natural;
       Temp    : Entry_Call_Link;
 
@@ -418,7 +418,7 @@ package body System.Tasking.Queuing is
 
    --  Return the head of entry_queue E
 
-   function Head (E : in Entry_Queue) return Entry_Call_Link is
+   function Head (E : Entry_Queue) return Entry_Call_Link is
    begin
       pragma Assert (Check_Queue (E));
       return E.Head;
@@ -528,7 +528,7 @@ package body System.Tasking.Queuing is
             Broadcast_Program_Error (Self_ID, Object, null);
       end;
 
-      --  If a call was selected, dequeue it and return it for service.
+      --  If a call was selected, dequeue it and return it for service
 
       if Entry_Call /= null then
          Temp_Call := Entry_Call;
index 3fd483c475772a07bf810e0280b536e8b56bacf8..d8a23a04aad3671f238c2a5f235cda5c0e425271 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                  S p e c                                 --
 --                                                                          --
---         Copyright (C) 1992-2005, Free Software Foundation, Inc.          --
+--         Copyright (C) 1992-2006, Free Software Foundation, Inc.          --
 --                                                                          --
 -- 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- --
@@ -54,9 +54,9 @@ package System.Tasking.Queuing is
    procedure Dequeue (E : in out Entry_Queue; Call : Entry_Call_Link);
    --  Dequeue Call from entry_queue E
 
-   function Head (E : in Entry_Queue) return Entry_Call_Link;
-   --  Return the head of entry_queue E
+   function Head (E : Entry_Queue) return Entry_Call_Link;
    pragma Inline (Head);
+   --  Return the head of entry_queue E
 
    procedure Dequeue_Head
      (E    : in out Entry_Queue;
@@ -64,10 +64,10 @@ package System.Tasking.Queuing is
    --  Remove and return the head of entry_queue E
 
    function Onqueue (Call : Entry_Call_Link) return Boolean;
-   --  Return True if Call is on any entry_queue at all
    pragma Inline (Onqueue);
+   --  Return True if Call is on any entry_queue at all
 
-   function Count_Waiting (E : in Entry_Queue) return Natural;
+   function Count_Waiting (E : Entry_Queue) return Natural;
    --  Return number of calls on the waiting queue of E
 
    procedure Select_Task_Entry_Call
@@ -82,9 +82,9 @@ package System.Tasking.Queuing is
    --    Open_Alternative will be True if there were any open alternatives
 
    procedure Select_Protected_Entry_Call
-     (Self_ID   : Task_Id;
-      Object    : POE.Protection_Entries_Access;
-      Call      : out Entry_Call_Link);
+     (Self_ID : Task_Id;
+      Object  : POE.Protection_Entries_Access;
+      Call    : out Entry_Call_Link);
    --  Select an entry of a protected object
 
    procedure Enqueue_Call (Entry_Call : Entry_Call_Link);
index ebfcbedfb712837d93372c0bc98379f80aaaa995..45354aeb77181f3c5a241eab9629fec8f6b8efb0 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          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- --
@@ -43,7 +43,7 @@ package System.WCh_JIS is
    --  if the two characters are not a valid EUC encoding.
 
    procedure JIS_To_EUC
-     (J    : in Wide_Character;
+     (J    : Wide_Character;
       EUC1 : out Character;
       EUC2 : out Character);
 
@@ -56,7 +56,7 @@ package System.WCh_JIS is
    --  the input code is assumed to be in an appropriate range.
 
    procedure JIS_To_Shift_JIS
-     (J   : in Wide_Character;
+     (J   : Wide_Character;
       SJ1 : out Character;
       SJ2 : out Character);
    --  Given a wide character code in JIS form, produce the corresponding
index 608095cf0ed13462594f7632ee1e1242ca5b1202..4151f0d999bb174d5e34c9e7e22b68c5f86b6e29 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1992-2004, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2005, 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- --
@@ -24,7 +24,7 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
---  This child package contains a procedure to load files.
+--  This child package contains a procedure to load files
 
 --  It is used by Sinput.P to load project files, and by GPrep to load
 --  preprocessor definition files and input files.
@@ -32,6 +32,6 @@
 package Sinput.C is
 
    function Load_File (Path : String) return Source_File_Index;
-   --  Load a file into memory and Initialize the Scans state.
+   --  Load a file into memory and Initialize the Scans state
 
 end Sinput.C;
index 39af22044e5360bf7f8d4f6c0c27bca9cd19e04d..ce1b636f4b510a08d04cc1cb630966687e8542a8 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                   (OpenVMS GCC_ZCX DEC Threads Version)                  --
 --                                                                          --
---          Copyright (C) 2002-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 2002-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -229,7 +229,7 @@ private
    -- Special VMS Interfaces --
    ----------------------------
 
-   procedure Lib_Stop (I : in Integer);
+   procedure Lib_Stop (I : Integer);
    pragma Interface (C, Lib_Stop);
    pragma Import_Procedure (Lib_Stop, "LIB$STOP", Mechanism => (Value));
    --  Interface to VMS condition handling. Used by RTSfind and pragma
index 22d49f5d9791d2ef670433630100e1bf9c44c26a..41e0696b65d537e21cae6e1b830930fbd3dce28c 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                       (OpenVMS DEC Threads Version)                      --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -229,7 +229,7 @@ private
    -- Special VMS Interfaces --
    ----------------------------
 
-   procedure Lib_Stop (I : in Integer);
+   procedure Lib_Stop (I : Integer);
    pragma Interface (C, Lib_Stop);
    pragma Import_Procedure (Lib_Stop, "LIB$STOP", Mechanism => (Value));
    --  Interface to VMS condition handling. Used by RTSfind and pragma
index 555692c6d90fa9f83f70e66f25c778b58d936bb4..971c5f37b88b2125b3348b0835c7a32723c8ad2c 100644 (file)
@@ -7,7 +7,7 @@
 --                                 S p e c                                  --
 --                (OpenVMS 64bit GCC_ZCX DEC Threads Version)               --
 --                                                                          --
---          Copyright (C) 1992-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1992-2006, Free Software Foundation, Inc.         --
 --                                                                          --
 -- This specification is derived from the Ada Reference Manual for use with --
 -- GNAT. The copyright notice above, and the license provisions that follow --
@@ -248,7 +248,7 @@ private
    -- Special VMS Interfaces --
    ----------------------------
 
-   procedure Lib_Stop (I : in Integer);
+   procedure Lib_Stop (I : Integer);
    pragma Interface (C, Lib_Stop);
    pragma Import_Procedure (Lib_Stop, "LIB$STOP", Mechanism => (Value));
    --  Interface to VMS condition handling. Used by RTSfind and pragma
index b3aa017dd95a6e07e1fcc34979790ab0e15c45f9..0b11a5697cdfd69ca79e2e4c4697518e58932e6c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1998-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1998-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- --
@@ -761,7 +761,7 @@ package body Xr_Tabls is
 
    function Get_File
      (File     : File_Reference;
-      With_Dir : in Boolean := False;
+      With_Dir : Boolean := False;
       Strip    : Natural    := 0) return String
    is
       Tmp : GNAT.OS_Lib.String_Access;
index 3650851d916f7d4849fcf66d056e71d9a925d1b0..b04b5a66f38b96319c0673a6f27f0ceb917404ac 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---          Copyright (C) 1998-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1998-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- --
@@ -75,9 +75,9 @@ package body Xref_Lib is
    --  the .ali files.
 
    procedure Open
-     (Name         : in  String;
+     (Name         : String;
       File         : out ALI_File;
-      Dependencies : in  Boolean := False);
+      Dependencies : Boolean := False);
    --  Open a new ALI file. If Dependencies is True, the insert every library
    --  file 'with'ed in the files database (used for gnatxref)
 
@@ -1367,7 +1367,7 @@ package body Xref_Lib is
    -- Print_Unused --
    ------------------
 
-   procedure Print_Unused (Full_Path_Name : in Boolean) is
+   procedure Print_Unused (Full_Path_Name : Boolean) is
       Decls : constant Declaration_Array_Access := Get_Declarations;
       Decl  : Declaration_Reference;
       Arr   : Reference_Array_Access;
@@ -1417,7 +1417,7 @@ package body Xref_Lib is
    -- Print_Vi --
    --------------
 
-   procedure Print_Vi (Full_Path_Name : in Boolean) is
+   procedure Print_Vi (Full_Path_Name : Boolean) is
       Tab   : constant Character := ASCII.HT;
       Decls : constant Declaration_Array_Access :=
                 Get_Declarations (Sorted => False);
@@ -1465,7 +1465,7 @@ package body Xref_Lib is
    -- Print_Xref --
    ----------------
 
-   procedure Print_Xref (Full_Path_Name : in Boolean) is
+   procedure Print_Xref (Full_Path_Name : Boolean) is
       Decls : constant Declaration_Array_Access := Get_Declarations;
       Decl : Declaration_Reference;
 
@@ -1475,7 +1475,7 @@ package body Xref_Lib is
       procedure New_Line80;
       --  Go to start of new line
 
-      procedure Print80 (S : in String);
+      procedure Print80 (S : String);
       --  Print the text, respecting the 80 columns rule
 
       procedure Print_Ref (Line, Column : String);
@@ -1504,7 +1504,7 @@ package body Xref_Lib is
       -- Print80 --
       -------------
 
-      procedure Print80 (S : in String) is
+      procedure Print80 (S : String) is
          Align : Natural := Margin - (Integer (Column) mod Margin);
 
       begin
index 2c9f944e594ccecbe823249496b5861362d52027..8494a9b3d723e3a707d643ad57156876bbf0a61c 100644 (file)
@@ -6,7 +6,7 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---          Copyright (C) 1998-2005, Free Software Foundation, Inc.         --
+--          Copyright (C) 1998-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- --
@@ -80,11 +80,11 @@ package Xref_Lib is
    -----------------------
 
    procedure Print_Gnatfind
-     (References     : in Boolean;
-      Full_Path_Name : in Boolean);
-   procedure Print_Unused (Full_Path_Name : in Boolean);
-   procedure Print_Vi (Full_Path_Name : in Boolean);
-   procedure Print_Xref (Full_Path_Name : in Boolean);
+     (References     : Boolean;
+      Full_Path_Name : Boolean);
+   procedure Print_Unused (Full_Path_Name : Boolean);
+   procedure Print_Vi     (Full_Path_Name : Boolean);
+   procedure Print_Xref   (Full_Path_Name : Boolean);
    --  The actual print procedures. These functions step through the symbol
    --  table and print all the symbols if they match the files given on the
    --  command line (they already match the entities if they are in the
@@ -94,7 +94,7 @@ package Xref_Lib is
    -- General Algorithms --
    ------------------------
 
-   function Default_Project_File (Dir_Name : in String) return String;
+   function Default_Project_File (Dir_Name : String) return String;
    --  Returns the default Project file name for the directory Dir_Name
 
    procedure Search