# [PATCH] reflog-walk: mark a file-local symbol as static

1 messages from 2017-07-06 to 2017-07-06. Participants: Ramsay Jones.
Thread: https://gitlist.dev/t/46317

## Ramsay Jones, 2017-07-06 16:00

Subject: [PATCH] reflog-walk: mark a file-local symbol as static
Message-ID: <fc3e4da5-a432-3038-eb97-42a4f2afe766@ramsayjones.plus.com>
URL: https://gitlist.dev/e/fc3e4da5-a432-3038-eb97-42a4f2afe766%40ramsayjones.plus.com

```

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Jeff,

When you re-roll your 'jk/reflog-walk' branch, could you please squash
this into the relevant patch (commit beafb2c629, "reflog-walk: stop using
fake parents", 05-07-2017).

Thanks!

ATB,
Ramsay Jones

 reflog-walk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reflog-walk.c b/reflog-walk.c
index a7644d944..8effe722b 100644
--- a/reflog-walk.c
+++ b/reflog-walk.c
@@ -284,7 +284,7 @@ int reflog_walk_empty(struct reflog_walk_info *info)
 	return !info || !info->nr;
 }
 
-struct commit *next_entry_in_log(struct commit_reflog *log)
+static struct commit *next_entry_in_log(struct commit_reflog *log)
 {
 	while (log->recno >= 0) {
 		struct reflog_info *entry = &log->reflogs->items[log->recno--];
-- 
2.13.0

```
