aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-20 16:35:25 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-20 16:35:25 +0000
commitaa87e9156d66cfd4848ed7618148ab3018ae69f0 (patch)
tree8e66a8bb596afee4f7bbbf06acbef5cfd85bc1b4 /locale
parent8da21f96b56d22f255d09b9dc62ada7fe8fe03a8 (diff)
downloadglibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.zip
glibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.tar.gz
glibc-aa87e9156d66cfd4848ed7618148ab3018ae69f0.tar.bz2
* locale/loadlocale.c (_nl_value_types): Mark as const.
* iconv/gconv_conf.c (builtin_aliases): Likewise.
Diffstat (limited to 'locale')
-rw-r--r--locale/loadlocale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index 11ece50..2a59350 100644
--- a/locale/loadlocale.c
+++ b/locale/loadlocale.c
@@ -1,5 +1,5 @@
/* Functions to read locale data files.
- Copyright (C) 1996-2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1996-2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -52,7 +52,7 @@ static const enum value_type _nl_value_type_##category[] = { NO_PAREN items };
#include "categories.def"
#undef DEFINE_CATEGORY
-static const enum value_type *_nl_value_types[] =
+static const enum value_type *const _nl_value_types[] =
{
#define DEFINE_CATEGORY(category, category_name, items, a) \
[category] = _nl_value_type_##category,