mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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 1463824d8e.
This commit is contained in:
1 parent
837bb31803
commit
2cbbbf6319
1 file changed
+1
-1
+1
-1
@@ -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},
|
||||
|
||||
Reference in new issue
Block a user