threads / patch / 44671

patchbranch: mark a file-local symbol with static

Subject: [PATCH] branch: mark a file-local symbol with static

## tl;dr

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

replies: 0people: 1as markdown or json

Ramsay Jones· Dec 10, 2016, 21:46 UTC · lore
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Karthik,

If you need to re-roll your 'kn/ref-filter-branch-list' branch, could you please squash this into the relevant patch (commit 715a4826ab, "branch: use ref-filter printing APIs", 07-12-2016).

Thanks!

ATB, Ramsay Jones

 builtin/branch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/branch.c +1 −1
diff --git a/builtin/branch.c b/builtin/branch.c
index 2c9aa2b29..4386273ce 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -306,7 +306,7 @@ static int calc_maxwidth(struct ref_array *refs, int remote_bonus)
 	return max;
 }
 
-const char *quote_literal_for_format(const char *s)
+static const char *quote_literal_for_format(const char *s)
 {
 	struct strbuf buf = STRBUF_INIT;
 
-- 
2.11.0

← back to recent threads