aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sysdep.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-10-10 00:12:05 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-04 16:57:56 +0100
commita0b57f6ff5c8eff7e8c17a28ccbed7b11ddc82e7 (patch)
tree90b99e3fd70a249ca3c5c1d4a1280e7f316a3a50 /gcc/ada/sysdep.c
parente2f073947a324bbfee866d9282bb778ddead95f4 (diff)
downloadgcc-a0b57f6ff5c8eff7e8c17a28ccbed7b11ddc82e7.zip
gcc-a0b57f6ff5c8eff7e8c17a28ccbed7b11ddc82e7.tar.gz
gcc-a0b57f6ff5c8eff7e8c17a28ccbed7b11ddc82e7.tar.bz2
ada: Minor tweaks in comments
They are related to the special support for text encoding on Windows. gcc/ada/ChangeLog: * adaint.c: Replace initialize.c with rtinit.c in comment. * sysdep.c (__gnat_set_mode): Fix reference in comment. * libgnat/i-cstrea.ads (Content_Encoding): Adjust comment.
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r--gcc/ada/sysdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c
index 254c736..1f65f43 100644
--- a/gcc/ada/sysdep.c
+++ b/gcc/ada/sysdep.c
@@ -177,8 +177,8 @@ __gnat_set_text_mode (int handle)
void
__gnat_set_mode (int handle, int mode)
{
- /* the values here must be synchronized with
- System.File_Control_Block.Content_Encodding:
+ /* The values here must be synchronized with
+ Interfaces.C_Streams.Content_Encoding:
None = 0
Default_Text = 1
@@ -200,8 +200,8 @@ __gnat_set_mode (int handle, int mode)
void
__gnat_set_mode (int handle, int mode)
{
- /* the values here must be synchronized with
- System.File_Control_Block.Content_Encodding:
+ /* The values here must be synchronized with
+ Interfaces.C_Streams.Content_Encoding:
None = 0
Default_Text = 1