threads / patch / 44304

patchtrailer: mark file-local symbol 'conf_head' static

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

## tl;dr

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

replies: 0people: 1as markdown or json

Ramsay Jones· Oct 15, 2016, 20:57 UTC · lore
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(-)
Show changes to trailer.c +1 −1
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

← back to recent threads