summaryrefslogtreecommitdiff
path: root/src/install.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/install.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/install.c')
-rw-r--r--src/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c
index 8133b5647..0d3927df4 100644
--- a/src/install.c
+++ b/src/install.c
@@ -138,7 +138,7 @@ enum
PRESERVE_CONTEXT_OPTION = CHAR_MAX + 1
};
-static const struct option const long_options[] =
+static struct option const long_options[] =
{
{"backup", optional_argument, NULL, 'b'},
{GETOPT_SELINUX_CONTEXT_OPTION_DECL},