]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
fix a const-related compilation failure in sort.c
authorJim Meyering <meyering@redhat.com>
Sun, 15 Jun 2008 14:28:48 +0000 (16:28 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 15 Jun 2008 14:28:48 +0000 (16:28 +0200)
* src/sort.c (monthtab): Remove overzealous "const".
Table entries are modified in an #if HAVE_NL_LANGINFO block.
Introduced by 1463824d8e7f72c31f1d803d7cfe2b608ccafc5c.

src/sort.c

index 218bd2986910620820103a3662949a3aa8fded95..a5c6ff34a0f6be89d621b32466e36b2512edab40 100644 (file)
@@ -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},