]> sourceware.org Git - glibc.git/commitdiff
* libio/iofwide.c (__libio_codecvt): Mark as const.
authorUlrich Drepper <drepper@redhat.com>
Mon, 19 Dec 2005 02:24:26 +0000 (02:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 19 Dec 2005 02:24:26 +0000 (02:24 +0000)
(__libio_translit): Likewise.

ChangeLog
libio/iofwide.c

index a793f5c157a15c0f80880c36d0d08fb1c651e4b2..36e8a76f2cf13ff61c7ec80e62799ad31b14abeb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-12-18  Ulrich Drepper  <drepper@redhat.com>
 
+       * libio/iofwide.c (__libio_codecvt): Mark as const.
+       (__libio_translit): Likewise.
+
        * wcsmbs/wcsmbsload.c (to_wc): Mark as const.
        (to_mb): Likewise.
 
index 7af9a633f8c38fa6c3c3deed373a58c111711329..be3627ca99f235885b3d51269cb3e580e3fd6370 100644 (file)
@@ -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
 };
This page took 0.049804 seconds and 5 git commands to generate.