X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fa-wtfiio.adb;h=50a24a9512d0817a068d0e19144b1674ab556984;hb=a634298771087aa45566135c02aef7751a34dd2a;hp=fb82a9bcb4dd7932153192f5c0b451bb21f990fd;hpb=e78e8c8eeb9163e35f31da808a111c5552dcd171;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/a-wtfiio.adb b/gcc/ada/a-wtfiio.adb index fb82a9bcb4d..50a24a9512d 100644 --- a/gcc/ada/a-wtfiio.adb +++ b/gcc/ada/a-wtfiio.adb @@ -1,13 +1,12 @@ ------------------------------------------------------------------------------ -- -- --- GNAT RUNTIME COMPONENTS -- +-- GNAT RUN-TIME COMPONENTS -- -- -- -- A D A . T E X T _ I O . W I D E _ T E X T _ I O . F I X E D _ I O -- -- -- -- B o d y -- -- -- --- -- --- Copyright (C) 1992-2000 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- -- @@ -17,8 +16,8 @@ -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -- -- for more details. You should have received a copy of the GNU General -- -- Public License distributed with GNAT; see file COPYING. If not, write -- --- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, -- --- MA 02111-1307, USA. -- +-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- +-- Boston, MA 02110-1301, USA. -- -- -- -- As a special exception, if other files instantiate generics from this -- -- unit, or you link this unit with other files to produce an executable, -- @@ -48,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); @@ -61,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 @@ -90,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); @@ -112,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);