diff options
author | Jim Meyering <meyering@redhat.com> | 2008-06-08 12:31:06 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-14 23:55:27 +0200 |
commit | 30497ff68740af251146c280d13dac24cdb1c5b6 (patch) | |
tree | 0e408213498df9ef0388cffcdb16f1eba98055c3 /src | |
parent | 0870ec5a3bcf0d4bd6c73379d17eab4105944501 (diff) | |
download | idutils-30497ff68740af251146c280d13dac24cdb1c5b6.tar.gz idutils-30497ff68740af251146c280d13dac24cdb1c5b6.tar.bz2 idutils-30497ff68740af251146c280d13dac24cdb1c5b6.zip |
sync maint.mk from coreutils, and adjust to conform
* libidu/scanners.c (long_options_c, long_options_asm): Add "const".
(long_options_text, long_options_perl): Likewise.
* src/fnid.c (long_options): Likewise.
* src/lid.c (long_options): Likewise.
* src/xtokid.c (long_options): Likewise.
Diffstat (limited to 'src')
-rw-r--r-- | src/fnid.c | 2 | ||||
-rw-r--r-- | src/lid.c | 2 | ||||
-rw-r--r-- | src/xtokid.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -55,7 +55,7 @@ usage (void) exit (1); } -static struct option const long_options[] = +static const struct option const long_options[] = { { "file", required_argument, 0, 'f' }, { "separator", required_argument, 0, 'S' }, @@ -211,7 +211,7 @@ static unsigned int frequency_high = USHRT_MAX; static struct file_link *cw_dlink; static struct file_link **members_0; -static struct option const long_options[] = +static const struct option const long_options[] = { { "file", required_argument, 0, 'f' }, { "frequency", required_argument, 0, 'F' }, diff --git a/src/xtokid.c b/src/xtokid.c index 36aa356..c7f67aa 100644 --- a/src/xtokid.c +++ b/src/xtokid.c @@ -51,7 +51,7 @@ usage (void) exit (1); } -static struct option const long_options[] = +static const struct option const long_options[] = { { "include", required_argument, 0, 'i' }, { "exclude", required_argument, 0, 'x' }, |