aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-valuei.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/libgnat/s-valuei.ads')
-rw-r--r--gcc/ada/libgnat/s-valuei.ads12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ada/libgnat/s-valuei.ads b/gcc/ada/libgnat/s-valuei.ads
index 5d1140f..e0a34d9 100644
--- a/gcc/ada/libgnat/s-valuei.ads
+++ b/gcc/ada/libgnat/s-valuei.ads
@@ -38,19 +38,21 @@ generic
type Uns is mod <>;
- with function Scan_Raw_Unsigned
+ with procedure Scan_Raw_Unsigned
(Str : String;
Ptr : not null access Integer;
- Max : Integer) return Uns;
+ Max : Integer;
+ Res : out Uns);
package System.Value_I is
pragma Preelaborate;
- function Scan_Integer
+ procedure Scan_Integer
(Str : String;
Ptr : not null access Integer;
- Max : Integer) return Int;
- -- This function scans the string starting at Str (Ptr.all) for a valid
+ Max : Integer;
+ Res : out Int);
+ -- This procedure scans the string starting at Str (Ptr.all) for a valid
-- integer according to the syntax described in (RM 3.5(43)). The substring
-- scanned extends no further than Str (Max). There are three cases for the
-- return: