diff options
author | Jim Meyering <meyering@redhat.com> | 2008-06-15 16:28:48 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-15 16:28:48 +0200 |
commit | 2cbbbf631967fd0dd75275c2cde46903fdb2a7f6 (patch) | |
tree | 84f77e58e13a46132ec929379c5be538d472df29 | |
parent | 837bb3180324543b4badc91dc6555b5e8cf84a8b (diff) | |
download | coreutils-2cbbbf631967fd0dd75275c2cde46903fdb2a7f6.tar.xz |
fix a const-related compilation failure in sort.c
* src/sort.c (monthtab): Remove overzealous "const".
Table entries are modified in an #if HAVE_NL_LANGINFO block.
Introduced by 1463824d8e7f72c31f1d803d7cfe2b608ccafc5c.
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 218bd2986..a5c6ff34a 100644 --- a/src/sort.c +++ b/src/sort.c @@ -205,7 +205,7 @@ static char fold_toupper[UCHAR_LIM]; /* Table mapping month names to integers. Alphabetic order allows binary search. */ -static const struct month const monthtab[] = +static struct month const monthtab[] = { {"APR", 4}, {"AUG", 8}, |