summaryrefslogtreecommitdiffstats
path: root/src/fid.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-10 18:02:27 +0200
committerJim Meyering <meyering@redhat.com>2008-05-17 12:53:29 +0200
commit0b94c83e343bbb3d86fb0fa5225653eca5a6f2a2 (patch)
tree0fcb9786b9ff9a649f4ad179af0ad28d470f57d4 /src/fid.c
parentdc52ae2e46bed0383fe471e253015c61e98b3ad3 (diff)
downloadidutils-0b94c83e343bbb3d86fb0fa5225653eca5a6f2a2.tar.gz
idutils-0b94c83e343bbb3d86fb0fa5225653eca5a6f2a2.tar.bz2
idutils-0b94c83e343bbb3d86fb0fa5225653eca5a6f2a2.zip
declare many global variable to be "static"
Remove the few that were thus exposed as being unused. Remove some unused prototypes.
Diffstat (limited to 'src/fid.c')
-rw-r--r--src/fid.c10
1 files changed, 5 insertions, 5 deletions
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[] =
{