summaryrefslogtreecommitdiff
path: root/gcc/ada/g-bytswa.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-12 11:59:17 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-12 11:59:17 +0000
commita7443bd5d3f14689473213b269a2e402e3de5a6e (patch)
treee7db31d50f4d59f06dae04e8d2af2e5babe721cc /gcc/ada/g-bytswa.ads
parentcd277670e8d2c9987f3d783304432915fff243ee (diff)
downloadgcc-a7443bd5d3f14689473213b269a2e402e3de5a6e.tar.gz
* a-extiti.ads (Timer): The discriminant is a "not null access
constant" in the Reference Manual. (Cancel_Handler): Cancelled is an out parameter in the Reference Manual. * a-swuwha.adb: Remove junk RM header * g-bytswa-x86.adb (Swap2, Swap4, Swap8): Remove explicit "in" mode indicator * g-bytswa.ads: Minor reformatting * g-soccon-solaris-64.ads, g-soccon-hpux-ia64.ads: Add new constant Thread_Blocking_IO, always True by default, set False on a per-runtime basis. (Need_Netdb_Buffer): New constant. * s-dsaser.ads (Get_Local_Partition_Id, Get_Passive_Partition_Id): Added renames for corresponding functions in System.Partition_Interface. * Makefile.in: Remove VMS specific System.CRTL packages which are no longer needed. * s-crtl-vms64.ads: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128430 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/g-bytswa.ads')
-rw-r--r--gcc/ada/g-bytswa.ads34
1 files changed, 17 insertions, 17 deletions
diff --git a/gcc/ada/g-bytswa.ads b/gcc/ada/g-bytswa.ads
index 5c9741482ea..a8d2d9c4d15 100644
--- a/gcc/ada/g-bytswa.ads
+++ b/gcc/ada/g-bytswa.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2006, AdaCore --
+-- Copyright (C) 2006-2007, 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- --
@@ -31,14 +31,14 @@
-- --
------------------------------------------------------------------------------
--- Simple routines for swapping the bytes of 16-, 32-, and 64-bit objects.
+-- Simple routines for swapping the bytes of 16-, 32-, and 64-bit objects
--- The generic functions should be instantiated with types that
--- are of a size in bytes corresponding to the name of the generic. For
--- example, a 2-byte integer type would be compatible with Swapped2, 4-byte
--- integer with Swapped4, and so on. Failure to do so will result in a
--- warning when compiling the instantiation; this warning should be heeded.
--- Ignoring this warning can result in unexpected results.
+-- The generic functions should be instantiated with types that are of a size
+-- in bytes corresponding to the name of the generic. For example, a 2-byte
+-- integer type would be compatible with Swapped2, 4-byte integer with
+-- Swapped4, and so on. Failure to do so will result in a warning when
+-- compiling the instantiation; this warning should be heeded. Ignoring this
+-- warning can result in unexpected results.
-- An example of proper usage follows:
@@ -85,12 +85,12 @@
-- ...
-- end;
--- A properly-sized record type will also be acceptable, and so forth.
+-- A properly-sized record type will also be acceptable, and so forth
--- However, as described, a size mismatch must be avoided. In the following
--- we instantiate one of the generics with a type that is too large. The
--- result of the function call is undefined, such that assignment to an
--- object can result in garbage values.
+-- However, as described, a size mismatch must be avoided. In the following we
+-- instantiate one of the generics with a type that is too large. The result
+-- of the function call is undefined, such that assignment to an object can
+-- result in garbage values.
-- Wrong: declare
-- subtype String16 is String (1 .. 16);
@@ -114,8 +114,8 @@
-- Put_Line (S);
-- end Wrong;
--- When the size of the type is larger than 8 bytes, the use of the
--- non-generic procedures is an alternative because no function result is
+-- When the size of the type is larger than 8 bytes, the use of the non-
+-- generic procedures is an alternative because no function result is
-- involved; manipulation of the object is direct.
-- The procedures are passed the address of an object to manipulate. They will
@@ -141,8 +141,8 @@
-- Put_Line (S8);
-- end;
--- If an object of a type larger than N is passed, the remaining
--- bytes of the object are undisturbed. For example:
+-- If an object of a type larger than N is passed, the remaining bytes of the
+-- object are undisturbed. For example:
-- declare
-- subtype String16 is String (1 .. 16);