Skip to contentSkip to conversation

archive.c: make archiver static

PATCH New Nanako Shiraishi 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 archive.c: make archiver static

This variable is not used anywhere outside.

---
 archive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
archive.c +1 -1
index e2280df..44ab008 100644
@@ -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;
Signature · 5 lines
1.6.0.2

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