summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-11 22:31:58 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-12 01:06:08 -0800
commitcb58c932a58e704b840ede37c55ce3e59a9e7544 (patch)
treefc09d12ae2481d6675a6e3977f671ff6b8e32602 /submodule.c
parent758e915b8a220ebe967edf745eb699b30d501993 (diff)
downloadgit-cb58c932a58e704b840ede37c55ce3e59a9e7544.tar.gz
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 86aad653b7..3007f7d5a6 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;