From: Jim Meyering Date: Sun, 15 Jun 2008 14:28:48 +0000 (+0200) Subject: fix a const-related compilation failure in sort.c X-Git-Tag: v7.0~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cbbbf631967fd0dd75275c2cde46903fdb2a7f6;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/sort.c b/src/sort.c index 218bd29869..a5c6ff34a0 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},