Skip to content

Commit

Permalink
builtin/revert.c: make commit_list_append() static
Browse files Browse the repository at this point in the history
There is nobody outside that calls into this helper function.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Sep 11, 2011
1 parent cf3e248 commit fb3198c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/revert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb3198c

Please sign in to comment.