summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-10-02 10:14:33 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-10-03 01:03:35 (GMT)
commit120a385afb8ce94b3918d74d4a79ca5938a95304 (patch)
tree124cc1f732844b90b9118b7b55490a2c1499a4c3
parentc5ae6439d454288a809dd7c916e44ec4a5ae0b3b (diff)
downloadgit-120a385afb8ce94b3918d74d4a79ca5938a95304.zip
git-120a385afb8ce94b3918d74d4a79ca5938a95304.tar.gz
git-120a385afb8ce94b3918d74d4a79ca5938a95304.tar.bz2
archive.c: make archiver static
This variable is not used anywhere outside. Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive.c b/archive.c
index e2280df..44ab008 100644
--- a/archive.c
+++ b/archive.c
@@ -15,7 +15,7 @@ static char const * const archive_usage[] = {
#define USES_ZLIB_COMPRESSION 1
-const struct archiver {
+static const struct archiver {
const char *name;
write_archive_fn_t write_archive;
unsigned int flags;