From 0b94c83e343bbb3d86fb0fa5225653eca5a6f2a2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 May 2008 18:02:27 +0200 Subject: declare many global variable to be "static" Remove the few that were thus exposed as being unused. Remove some unused prototypes. --- src/fid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fid.c') diff --git a/src/fid.c b/src/fid.c index 1b160f4..9869075 100644 --- a/src/fid.c +++ b/src/fid.c @@ -39,7 +39,7 @@ static void skip_hits (unsigned char const **hits, int level); void usage (void); struct idhead idh; -int tree8_levels; +static int tree8_levels; /* The name this program was run with. */ @@ -55,10 +55,10 @@ static int show_version; /* The file name of the ID database. */ -struct file_link *cw_dlink; -struct file_link **members_0; -unsigned int bits_vec_size; -char *hits_buf; +static struct file_link *cw_dlink; +static struct file_link **members_0; +static unsigned int bits_vec_size; +static char *hits_buf; static struct option const long_options[] = { -- cgit v1.2.3