diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fid.c | 2 | ||||
-rw-r--r-- | src/fnid.c | 3 | ||||
-rw-r--r-- | src/lid.c | 2 | ||||
-rw-r--r-- | src/xtokid.c | 2 |
4 files changed, 5 insertions, 4 deletions
@@ -60,7 +60,7 @@ static struct file_link **members_0; static unsigned int bits_vec_size; static char *hits_buf; -static struct option const long_options[] = +static const struct option const long_options[] = { { "file", required_argument, 0, 'f' }, { "help", no_argument, &show_help, 1 }, @@ -38,8 +38,9 @@ void usage (void); char const *program_name; static int show_version = 0; static int show_help = 0; +static struct file_link *cw_dlink; + struct idhead idh; -struct file_link *cw_dlink; /* How shall we separate file names? */ @@ -209,7 +209,7 @@ static query_func_t query_function; static unsigned int frequency_low = 1; static unsigned int frequency_high = USHRT_MAX; -struct file_link *cw_dlink; +static struct file_link *cw_dlink; static struct file_link **members_0; static struct option const long_options[] = diff --git a/src/xtokid.c b/src/xtokid.c index 1e5768e..5dc97fe 100644 --- a/src/xtokid.c +++ b/src/xtokid.c @@ -40,7 +40,7 @@ static char *lang_map_file_name = 0; static int show_version = 0; static int show_help = 0; struct idhead idh; -struct file_link *cw_dlink; +static struct file_link *cw_dlink; void usage (void) |