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>
This commit is contained in:
committed by
Junio C Hamano
parent
c5fba16c50
commit
b5bf7cd6b7
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user