git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] archive.c: make archiver static

From
Nanako Shiraishi <nanako3@lavabit.com>
Date
Oct 2, 2008, 10:14 UTC
Message-ID
<20081002191433.6117@nanako3.lavabit.com>
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(-)
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/
Message 1 of 1 in “archive.c: make archiver static”
  1. archive.c: make archiver staticNanako Shiraishi, Oct 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.