From 6da4016aea2dc5bf311fea160bd8ef96ca82b999 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 3 Jul 2005 10:10:45 -0700 Subject: Fix sparse warnings. Mainly making a lot of local functions and variables be marked "static", but there was a "zero as NULL" warning in there too. --- rev-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rev-list.c') diff --git a/rev-list.c b/rev-list.c index 362342eabc..fb75c22bc7 100644 --- a/rev-list.c +++ b/rev-list.c @@ -310,7 +310,7 @@ static struct commit_list *find_bisection(struct commit_list *list) return best; } -struct commit_list *limit_list(struct commit_list *list) +static struct commit_list *limit_list(struct commit_list *list) { struct commit_list *newlist = NULL; struct commit_list **p = &newlist; -- cgit v1.2.1