threads / patch / 15752

patcharchive.c: make archiver static

Subject: [PATCH] archive.c: make archiver static

## tl;dr

One message between Oct 2, 2008 and Oct 2, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Nanako Shiraishi· Oct 2, 2008, 10:14 UTC · lore
This variable is not used anywhere outside.
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
---
 archive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to archive.c +1 −1
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;
-- 
1.6.0.2

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/

← back to recent threads