Remove some compile time warnings about duplicate definitions.
[official-gcc.git] / gcc / ada / a-wtcoio.ads
bloba1576cd25a78a763f3056e25f05538f1081b6a6d
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT RUNTIME COMPONENTS --
4 -- --
5 -- A D A . W I D E _ T E X T _ IO . C O M P L E X _ I O --
6 -- --
7 -- S p e c --
8 -- --
9 -- $Revision: 1.2 $ --
10 -- --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT. In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification, provided that if you redistribute a --
14 -- modified version, any changes that you have made are clearly indicated. --
15 -- --
16 ------------------------------------------------------------------------------
18 with Ada.Numerics.Generic_Complex_Types;
20 generic
21 with package Complex_Types is new Ada.Numerics.Generic_Complex_Types (<>);
23 package Ada.Wide_Text_IO.Complex_IO is
25 use Complex_Types;
27 Default_Fore : Field := 2;
28 Default_Aft : Field := Real'Digits - 1;
29 Default_Exp : Field := 3;
31 procedure Get
32 (File : in File_Type;
33 Item : out Complex;
34 Width : in Field := 0);
36 procedure Get
37 (Item : out Complex;
38 Width : in Field := 0);
40 procedure Put
41 (File : in File_Type;
42 Item : in Complex;
43 Fore : in Field := Default_Fore;
44 Aft : in Field := Default_Aft;
45 Exp : in Field := Default_Exp);
47 procedure Put
48 (Item : in Complex;
49 Fore : in Field := Default_Fore;
50 Aft : in Field := Default_Aft;
51 Exp : in Field := Default_Exp);
53 procedure Get
54 (From : in Wide_String;
55 Item : out Complex;
56 Last : out Positive);
58 procedure Put
59 (To : out Wide_String;
60 Item : in Complex;
61 Aft : in Field := Default_Aft;
62 Exp : in Field := Default_Exp);
64 end Ada.Wide_Text_IO.Complex_IO;