summaryrefslogtreecommitdiff
path: root/src/mktemp.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/mktemp.c
parent3de15598304c141bdac5a3545874bab035536d88 (diff)
downloadcoreutils-45e67188d6615820f5bb39cb6890c5b4dfca83c4.tar.gz
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/mktemp.c')
-rw-r--r--src/mktemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mktemp.c b/src/mktemp.c
index 2821c8cdf..8a09231f9 100644
--- a/src/mktemp.c
+++ b/src/mktemp.c
@@ -42,7 +42,7 @@ enum
TMPDIR_OPTION = CHAR_MAX + 1
};
-static const struct option const longopts[] =
+static struct option const longopts[] =
{
{"directory", no_argument, NULL, 'd'},
{"quiet", no_argument, NULL, 'q'},