summaryrefslogtreecommitdiff
path: root/unzip.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-09 10:00:25 +0200
committerJim Meyering <meyering@redhat.com>2011-05-09 10:11:26 +0200
commit7e7015ea853812052824eb5a62adec3e91a88a5c (patch)
tree6c85b0bc76c873fdbdbbb3b47b61bdd1d8ec0267 /unzip.c
parent9d1b94368968e29154dab51806f232cddc177b4a (diff)
downloadgzip-7e7015ea853812052824eb5a62adec3e91a88a5c.tar.gz
maint: declare many variables to be static
* deflate.c: Likewise. * gzip.c: Likewise. * gzip.h: Likewise. * inflate.c: Likewise. * trees.c: Likewise. * unzip.c: Likewise. * util.c: Likewise.
Diffstat (limited to 'unzip.c')
-rw-r--r--unzip.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/unzip.c b/unzip.c
index 302194c..1c1d782 100644
--- a/unzip.c
+++ b/unzip.c
@@ -51,10 +51,9 @@
/* Globals */
-int decrypt; /* flag to turn on decryption */
-char *key; /* not used--needed to link crypt.c */
-int pkzip = 0; /* set for a pkzip file */
-int ext_header = 0; /* set if extended local header */
+static int decrypt; /* flag to turn on decryption */
+static int pkzip = 0; /* set for a pkzip file */
+static int ext_header = 0; /* set if extended local header */
/* ===========================================================================
* Check zip file and advance inptr to the start of the compressed data.