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

[PATCH] trailer: mark file-local symbol 'conf_head' static

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Oct 15, 2016, 20:57 UTC
Message-ID
<0e3265cd-8d9b-1c0b-5637-f815c9a70243@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Jonathan,

If you need to re-roll your 'jt/trailer-with-cruft' branch, could you please squash this into the relevant patch. [commit 3fb120de ("trailer: use list.h for doubly-linked list", 14-10-2016)]

Thanks!

ATB, Ramsay Jones

 trailer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trailer.c b/trailer.c
index 1be6ec8..2862a48 100644
--- a/trailer.c
+++ b/trailer.c
@@ -42,7 +42,7 @@ struct arg_item {
 	struct conf_info conf;
 };
 
-LIST_HEAD(conf_head);
+static LIST_HEAD(conf_head);
 
 static char *separators = ":";
 
-- 
2.10.0
Message 1 of 1 in “trailer: mark file-local symbol 'conf_head' static”
  1. trailer: mark file-local symbol 'conf_head' staticRamsay Jones, Oct 15, 2016

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.