Skip to content

Commit

Permalink
(to_wc): Mark as const. (to_mb): Likewise.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Dec 19, 2005
1 parent cafdac6 commit bd62cef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wcsmbs/wcsmbsload.c
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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
};

Expand Down

0 comments on commit bd62cef

Please sign in to comment.