summaryrefslogtreecommitdiff
path: root/src/fold.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/fold.c
parent3de15598304c141bdac5a3545874bab035536d88 (diff)
downloadcoreutils-45e67188d6615820f5bb39cb6890c5b4dfca83c4.tar.gz
coreutils-45e67188d6615820f5bb39cb6890c5b4dfca83c4.tar.bz2
coreutils-45e67188d6615820f5bb39cb6890c5b4dfca83c4.zip
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/fold.c')
-rw-r--r--src/fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fold.c b/src/fold.c
index eb97753fc..57ff123c7 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -45,7 +45,7 @@ static bool have_read_stdin;
static char const shortopts[] = "bsw:0::1::2::3::4::5::6::7::8::9::";
-static const struct option const longopts[] =
+static struct option const longopts[] =
{
{"bytes", no_argument, NULL, 'b'},
{"spaces", no_argument, NULL, 's'},