summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-12 06:31:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-12 09:06:08 (GMT)
commitcb58c932a58e704b840ede37c55ce3e59a9e7544 (patch)
treefc09d12ae2481d6675a6e3977f671ff6b8e32602 /submodule.c
parent758e915b8a220ebe967edf745eb699b30d501993 (diff)
downloadgit-cb58c932a58e704b840ede37c55ce3e59a9e7544.zip
git-cb58c932a58e704b840ede37c55ce3e59a9e7544.tar.gz
git-cb58c932a58e704b840ede37c55ce3e59a9e7544.tar.bz2
submodule.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
-rw-r--r--submodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.c b/submodule.c
index 86aad65..3007f7d 100644
--- a/submodule.c
+++ b/submodule.c
@@ -5,7 +5,7 @@
#include "commit.h"
#include "revision.h"
-int add_submodule_odb(const char *path)
+static int add_submodule_odb(const char *path)
{
struct strbuf objects_directory = STRBUF_INIT;
struct alternate_object_database *alt_odb;