summaryrefslogtreecommitdiffstats
path: root/src/fnid.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/fnid.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/fnid.c')
-rw-r--r--src/fnid.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fnid.c b/src/fnid.c
index a8d9f17..0dbf269 100644
--- a/src/fnid.c
+++ b/src/fnid.c
@@ -33,19 +33,17 @@
#include "idfile.h"
#include "iduglobal.h"
-void scan_member_file (struct member_file const *member);
void usage (void);
char const *program_name;
-int show_version = 0;
-int show_help = 0;
+static int show_version = 0;
+static int show_help = 0;
struct idhead idh;
struct file_link *cw_dlink;
-int no_id_flag = 1;
/* How shall we separate file names? */
-enum separator_style separator_style = ss_contextual;
+static enum separator_style separator_style = ss_contextual;
void
usage (void)