aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcsmbsload.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
commit0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (patch)
tree2ea1f8305970753e4a657acb2ccc15ca3eec8e2c /wcsmbs/wcsmbsload.c
parent7d58530341304d403a6626d7f7a1913165fe2f32 (diff)
downloadglibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.gz
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.bz2
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.zip
2.5-18.1
Diffstat (limited to 'wcsmbs/wcsmbsload.c')
-rw-r--r--wcsmbs/wcsmbsload.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/wcsmbs/wcsmbsload.c b/wcsmbs/wcsmbsload.c
index 1d7374b386..e82b1ffaff 100644
--- a/wcsmbs/wcsmbsload.c
+++ b/wcsmbs/wcsmbsload.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998,1999,2000,2001,2002,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2002,2004,2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -29,7 +29,7 @@
/* These are the descriptions for the default conversion functions. */
-static struct __gconv_step to_wc =
+static const struct __gconv_step to_wc =
{
.__shlib_handle = NULL,
.__modname = NULL,
@@ -48,7 +48,7 @@ static struct __gconv_step to_wc =
.__data = NULL
};
-static struct __gconv_step to_mb =
+static const struct __gconv_step to_mb =
{
.__shlib_handle = NULL,
.__modname = NULL,
@@ -71,9 +71,9 @@ static struct __gconv_step to_mb =
/* For the default locale we only have to handle ANSI_X3.4-1968. */
const struct gconv_fcts __wcsmbs_gconv_fcts_c =
{
- .towc = &to_wc,
+ .towc = (struct __gconv_step *) &to_wc,
.towc_nsteps = 1,
- .tomb = &to_mb,
+ .tomb = (struct __gconv_step *) &to_mb,
.tomb_nsteps = 1
};