aboutsummaryrefslogtreecommitdiff
path: root/update-ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'update-ref.c')
-rw-r--r--update-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-ref.c b/update-ref.c
index 01496f6a9..1863b8232 100644
--- a/update-ref.c
+++ b/update-ref.c
@@ -6,7 +6,7 @@ static const char git_update_ref_usage[] = "git-update-ref <refname> <value> [<o
#define MAXDEPTH 5
-const char *resolve_ref(const char *path, unsigned char *sha1)
+static const char *resolve_ref(const char *path, unsigned char *sha1)
{
int depth = MAXDEPTH, len;
char buffer[256];