aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gzip/zuncompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gzip/zuncompress.c')
-rw-r--r--usr.bin/gzip/zuncompress.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/gzip/zuncompress.c b/usr.bin/gzip/zuncompress.c
index f7f50af2b9d1..f1b05fd23572 100644
--- a/usr.bin/gzip/zuncompress.c
+++ b/usr.bin/gzip/zuncompress.c
@@ -77,10 +77,9 @@ static char_type magic_header[] =
static char_type rmask[9] =
{0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff};
-/* XXX zuncompress global */
-off_t total_compressed_bytes;
-size_t compressed_prelen;
-char *compressed_pre;
+static off_t total_compressed_bytes;
+static size_t compressed_prelen;
+static char *compressed_pre;
struct s_zstate {
FILE *zs_fp; /* File stream for I/O */