diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 10:10:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-03 10:10:45 -0700 |
commit | 6da4016aea2dc5bf311fea160bd8ef96ca82b999 (patch) | |
tree | 24f35b804286e5d0b86df471f5c48b339507f221 /rev-list.c | |
parent | 44c9e8594e7854fcead68ae0959e00137c2bbb59 (diff) | |
download | git-6da4016aea2dc5bf311fea160bd8ef96ca82b999.tar.gz |
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.
Diffstat (limited to 'rev-list.c')
-rw-r--r-- | rev-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |