summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5fba16)
raw | patch | inline | side by side (parent: c5fba16)
author | Pierre Habouzit <madcoder@debian.org> | |
Wed, 23 Aug 2006 10:39:12 +0000 (12:39 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 24 Aug 2006 01:47:38 +0000 (18:47 -0700) |
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>
are not used outside their own files.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-tar-tree.c | patch | blob | history | |
http-push.c | patch | blob | history |
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index e0bcb0a1e146c3f85fa98463a0d4bb5913a3f2b2..61a413590d74d0fb167d715aa754df1a8794c085 100644 (file)
--- a/builtin-tar-tree.c
+++ b/builtin-tar-tree.c
}
}
-int git_tar_config(const char *var, const char *value)
+static int git_tar_config(const char *var, const char *value)
{
if (!strcmp(var, "tar.umask")) {
if (!strcmp(value, "user")) {
diff --git a/http-push.c b/http-push.c
index 48497797f1650a2ed3f24010a85123993b14d8aa..7d12f6975cbb389a59b464138786e46326c6b9d4 100644 (file)
--- a/http-push.c
+++ b/http-push.c
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;