# HG changeset patch # User Bruno Haible # Date 1260638879 -3600 # Node ID 7845453bc803ec9659fd0e881d37b37de3dba298 # Parent 29670982b798b21ec9e4aa150cc5142448b27cf1 duplocale: Tweak. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-12 Bruno Haible + + duplocale: Tweak. + * lib/duplocale.c (rpl_duplocale): Mark categories array as 'const'. + 2009-12-12 Karl Berry * config/srclist.txt (strtoll.c): tab changes, no more sync. diff --git a/lib/duplocale.c b/lib/duplocale.c --- a/lib/duplocale.c +++ b/lib/duplocale.c @@ -37,7 +37,7 @@ { /* Create a copy of the locale by fetching the name of each locale category, starting with LC_CTYPE. */ - static struct { int cat; int mask; } categories[] = + static struct { int cat; int mask; } const categories[] = { { LC_NUMERIC, LC_NUMERIC_MASK }, { LC_TIME, LC_TIME_MASK },