builtin/revert.c: make commit_list_append() static

There is nobody outside that calls into this helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Sep 11, 2011 at 15:29 UTC fb3198c57f4dfa462e29844d47fa9eececc3bb8f
1 file changed +2 -2
builtin/revert.c
+2 -2
@@ -664,8 +664,8 @@ static void read_and_refresh_cache(struct replay_opts *opts)
664 * assert(commit_list_count(list) == 2);
665 * return list;
666 */
667 -struct commit_list **commit_list_append(struct commit *commit,
668 - struct commit_list **next)
667 +static struct commit_list **commit_list_append(struct commit *commit,
668 + struct commit_list **next)
669 {
670 struct commit_list *new = xmalloc(sizeof(struct commit_list));
671 new->item = commit;