summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2006-08-23 10:39:12 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-08-24 01:47:38 (GMT)
commitb5bf7cd6b7dbcbef9181e21bfae21612c75738c4 (patch)
tree687d48943d826bafdcf2f5079e1f0212a9892478 /http-push.c
parentc5fba16c500ad5847842876df0418664cddf6e50 (diff)
downloadgit-b5bf7cd6b7dbcbef9181e21bfae21612c75738c4.zip
git-b5bf7cd6b7dbcbef9181e21bfae21612c75738c4.tar.gz
git-b5bf7cd6b7dbcbef9181e21bfae21612c75738c4.tar.bz2
missing 'static' keywords
builtin-tar-tree.c::git_tar_config() and http-push.c::add_one_object() are not used outside their own files. Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 4849779..7d12f69 100644
--- a/http-push.c
+++ b/http-push.c
@@ -1700,7 +1700,7 @@ static int locking_available(void)
return lock_flags;
}
-struct object_list **add_one_object(struct object *obj, struct object_list **p)
+static struct object_list **add_one_object(struct object *obj, struct object_list **p)
{
struct object_list *entry = xmalloc(sizeof(struct object_list));
entry->item = obj;