aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/iofwide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c
index 7af9a63..be3627c 100644
--- a/libio/iofwide.c
+++ b/libio/iofwide.c
@@ -68,7 +68,7 @@ static int do_always_noconv (struct _IO_codecvt *codecvt);
/* The functions used in `codecvt' for libio are always the same. */
-struct _IO_codecvt __libio_codecvt =
+const struct _IO_codecvt __libio_codecvt =
{
.__codecvt_destr = NULL, /* Destructor, never used. */
.__codecvt_do_out = do_out,
@@ -82,7 +82,7 @@ struct _IO_codecvt __libio_codecvt =
#ifdef _LIBC
-struct __gconv_trans_data __libio_translit attribute_hidden =
+const struct __gconv_trans_data __libio_translit attribute_hidden =
{
.__trans_fct = __gconv_transliterate
};