From 30497ff68740af251146c280d13dac24cdb1c5b6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 8 Jun 2008 12:31:06 +0200 Subject: 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. --- src/fnid.c | 2 +- src/lid.c | 2 +- src/xtokid.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/fnid.c b/src/fnid.c index c8e5fc8..7aa672c 100644 --- a/src/fnid.c +++ b/src/fnid.c @@ -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' }, diff --git a/src/lid.c b/src/lid.c index 7db355e..d7a3a1c 100644 --- a/src/lid.c +++ b/src/lid.c @@ -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' }, -- cgit v1.2.3