/* This file is part of GNU tar.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009 Free Software Foundation, Inc.
Written by Sergey Poznyakoff.
const char *program;
};
-struct compression_suffix compression_suffixes[] = {
+static struct compression_suffix compression_suffixes[] = {
#define S(s,p) #s, sizeof (#s) - 1, #p
{ S(gz, gzip) },
{ S(tgz, gzip) },
{ S(tz2, bzip2) },
{ S(lzma, lzma) },
{ S(tlz, lzma) },
+ { S(lzo, lzop) },
+ { S(xz, xz) },
#undef S
};
-int nsuffixes = sizeof (compression_suffixes) /
- sizeof (compression_suffixes[0]);
+static int nsuffixes = sizeof (compression_suffixes) /
+ sizeof (compression_suffixes[0]);
static const char *
find_compression_program (const char *name, const char *defprog)