aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index 9a5646f..d174a11 100644
--- a/colorize.c
+++ b/colorize.c
@@ -211,6 +211,8 @@ static void release_var (void **, unsigned int, void **);
extern char *optarg;
extern int optind;
+static int opt_type = 0;
+
int
main (int argc, char **argv)
{
@@ -224,7 +226,7 @@ main (int argc, char **argv)
OPT_VERSION
};
- int opt, opt_type = 0;
+ int opt;
struct option long_opts[] = {
{ "clean", no_argument, &opt_type, OPT_CLEAN },
{ "clean-all", no_argument, &opt_type, OPT_CLEAN_ALL },