From: Junio C Hamano Date: Sun, 11 Sep 2011 22:29:21 +0000 (-0700) Subject: builtin/revert.c: make commit_list_append() static X-Git-Tag: v1.7.8-rc0~141^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fb3198c57f4dfa462e29844d47fa9eececc3bb8f;p=git.git builtin/revert.c: make commit_list_append() static There is nobody outside that calls into this helper function. Signed-off-by: Junio C Hamano --- diff --git a/builtin/revert.c b/builtin/revert.c index 8b452e810..8409f4c88 100644 --- a/builtin/revert.c +++ b/builtin/revert.c @@ -664,8 +664,8 @@ static void read_and_refresh_cache(struct replay_opts *opts) * assert(commit_list_count(list) == 2); * return list; */ -struct commit_list **commit_list_append(struct commit *commit, - struct commit_list **next) +static struct commit_list **commit_list_append(struct commit *commit, + struct commit_list **next) { struct commit_list *new = xmalloc(sizeof(struct commit_list)); new->item = commit;