summaryrefslogtreecommitdiff
path: root/src/od.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-06-16 21:16:07 -0600
committerJim Meyering <meyering@redhat.com>2008-06-17 08:17:14 +0200
commita7a328af0f7d087d8c664e7803a9f3a7479376c1 (patch)
treeac12bbb96c1d1da9e5de49b315c4411e01ed4746 /src/od.c
parent94cecb5cf6922130f10a640614fb2e16945c5432 (diff)
downloadcoreutils-a7a328af0f7d087d8c664e7803a9f3a7479376c1.tar.xz
ls, od: avoid redundant const
* src/ls.c (long_time_format, sort_functions): Avoid redundant const. * src/od.c (charname): Likewise. * maint.mk (sc_redundant_const): Add rule to detect this.
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index 70ba59cd2..5b4b7bd4a 100644
--- a/src/od.c
+++ b/src/od.c
@@ -174,7 +174,7 @@ static const int width_bytes[] =
verify (sizeof width_bytes / sizeof width_bytes[0] == N_SIZE_SPECS);
/* Names for some non-printing characters. */
-static const char const charname[33][4] =
+static char const charname[33][4] =
{
"nul", "soh", "stx", "etx", "eot", "enq", "ack", "bel",
"bs", "ht", "nl", "vt", "ff", "cr", "so", "si",