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

1 messages from 2016-12-10 to 2016-12-10. Participants: Ramsay Jones.
Thread: https://gitlist.dev/t/44671

## Ramsay Jones, 2016-12-10 21:46

Subject: [PATCH] branch: mark a file-local symbol with static
Message-ID: <16326b3f-45c8-df4e-d52f-5dac62610b21@ramsayjones.plus.com>
URL: https://gitlist.dev/e/16326b3f-45c8-df4e-d52f-5dac62610b21%40ramsayjones.plus.com

```

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(-)

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

```
