summaryrefslogtreecommitdiff
path: root/src/tr.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-06-16 14:55:06 +0200
committerJim Meyering <meyering@redhat.com>2008-06-16 16:40:59 +0200
commit45e67188d6615820f5bb39cb6890c5b4dfca83c4 (patch)
treea5ef6fe5c6266ff8ee74ead1b50e7abada1c3bef /src/tr.c
parent3de15598304c141bdac5a3545874bab035536d88 (diff)
downloadcoreutils-45e67188d6615820f5bb39cb6890c5b4dfca83c4.tar.xz
remove redundant const directives
In 1463824d8e7f72c31f1d803d7cfe2b608ccafc5c, I added some missing "const" directives, as well as some new, redundant ones. This removes the redundant ones. Pointed out by Eric Blake. * base64.c, cat.c, chcon.c, chgrp.c, chmod.c, chown.c, comm.c: * cp.c, csplit.c, cut.c, date.c, dd.c, df.c, dircolors.c, du.c: * env.c, expand.c, fmt.c, fold.c, groups.c, head.c, id.c: * install.c, join.c, kill.c, ln.c, ls.c, md5sum.c, mkdir.c: * mkfifo.c, mknod.c, mktemp.c, mv.c, nice.c, nl.c, od.c: * paste.c, pathchk.c, pinky.c, pr.c, ptx.c, readlink.c, rm.c: * rmdir.c, runcon.c, seq.c, shred.c, shuf.c, sort.c, split.c: * stat.c, stty.c, su.c, sum.c, tac.c, tail.c, tee.c, timeout.c: * touch.c, tr.c, truncate.c, tty.c, uname.c, unexpand.c, uniq.c: * wc.c, who.c: Remove redundant const directives. * maint.mk (sc_const_long_option): Don't require redundant "const".
Diffstat (limited to 'src/tr.c')
-rw-r--r--src/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tr.c b/src/tr.c
index 7a747109c..e1bb40499 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -264,7 +264,7 @@ static bool in_delete_set[N_CHARS];
two specification strings and the delete switch is not given. */
static char xlate[N_CHARS];
-static const struct option const long_options[] =
+static struct option const long_options[] =
{
{"complement", no_argument, NULL, 'c'},
{"delete", no_argument, NULL, 'd'},