summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-08 02:54:57 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-08 02:54:57 -0700
commit16befb8b7fbfcc9b2d38931f4081669558300adf (patch)
treebf43ee0650d85c8a8096a59d24ea536e0b11a3e2 /commit.c
parentfcd056a6d23bafb13f991ffb673fb87c7100b8f2 (diff)
downloadgit-16befb8b7fbfcc9b2d38931f4081669558300adf.tar.gz
Even more missing static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/commit.c b/commit.c
index 57b69ca7fa..4ca4d44ba0 100644
--- a/commit.c
+++ b/commit.c
@@ -1116,15 +1116,6 @@ struct commit *pop_commit(struct commit_list **stack)
return item;
}
-int count_parents(struct commit * commit)
-{
- int count;
- struct commit_list * parents = commit->parents;
- for (count = 0; parents; parents = parents->next,count++)
- ;
- return count;
-}
-
void topo_sort_default_setter(struct commit *c, void *data)
{
c->util = data;