From e99d59ff0bff349ef205cef1076e0354c8130680 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 20 May 2005 11:46:10 -0700 Subject: sparse cleanup Fix various things that sparse complains about: - use NULL instead of 0 - make sure we declare everything properly, or mark it static - use proper function declarations ("fn(void)" instead of "fn()") Sparse is always right. --- rev-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rev-tree.c') diff --git a/rev-tree.c b/rev-tree.c index f7dc98b1aa..bc190ebc71 100644 --- a/rev-tree.c +++ b/rev-tree.c @@ -46,7 +46,7 @@ static int interesting(struct commit *rev) return 1; } -void process_commit(unsigned char *sha1) +static void process_commit(unsigned char *sha1) { struct commit_list *parents; struct commit *obj = lookup_commit(sha1); -- cgit v1.2.3