From 5b8ca141c207d428a24416d2e5a5e6a324e8770f Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 30 Aug 2011 14:13:06 +0000 Subject: [PATCH] Renames Ratio to Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage From-SVN: r178315 --- gcc/ada/ChangeLog | 4 ++-- gcc/ada/s-parame-ae653.ads | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e39ed6ae2ce..ce9e88b6559 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -17,8 +17,8 @@ * s-parame-vms-alpha.ads, s-parame-hpux.ads, s-tassta.adb, s-tarest.adb, s-parame-vms-ia64.ads, s-soflin.adb, s-secsta.adb, - s-secsta.ads, s-parame.ads, s-parame-vxworks.ads: Renames Ratio to - Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage. + s-secsta.ads, s-parame.ads, s-parame-vxworks.ads, s-parame-ae653.ads: + Renames Ratio to Percentage, and Sec_Stack_Ratio to Sec_Stack_Percentage 2011-08-30 Gary Dismukes diff --git a/gcc/ada/s-parame-ae653.ads b/gcc/ada/s-parame-ae653.ads index a13ecf38c00..82a5d31562b 100644 --- a/gcc/ada/s-parame-ae653.ads +++ b/gcc/ada/s-parame-ae653.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2010, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2011, 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,7 +62,7 @@ package System.Parameters is Unspecified_Size : constant Size_Type := Size_Type'First; -- Value used to indicate that no size type is set - subtype Ratio is Size_Type range -1 .. 100; + subtype Percentage is Size_Type range -1 .. 100; Dynamic : constant Size_Type := -1; -- The secondary stack ratio is a constant between 0 and 100 which -- determines the percentage of the allocated task stack that is @@ -70,10 +70,10 @@ package System.Parameters is -- The special value of minus one indicates that the secondary -- stack is to be allocated from the heap instead. - Sec_Stack_Ratio : constant Ratio := 50; + Sec_Stack_Percentage : constant Percentage := 50; -- This constant defines the handling of the secondary stack - Sec_Stack_Dynamic : constant Boolean := Sec_Stack_Ratio = Dynamic; + Sec_Stack_Dynamic : constant Boolean := Sec_Stack_Percentage = Dynamic; -- Convenient Boolean for testing for dynamic secondary stack function Default_Stack_Size return Size_Type;