Skip to content

Commit

Permalink
* libio/iofwide.c (__libio_codecvt): Mark as const.
Browse files Browse the repository at this point in the history
	(__libio_translit): Likewise.
  • Loading branch information
Ulrich Drepper committed Dec 19, 2005
1 parent d7fb2a9 commit 86d131f
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

4 changes: 2 additions & 2 deletions libio/iofwide.c
Original file line number Diff line number Diff line change
@@ -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
};

0 comments on commit 86d131f

Please sign in to comment.