aboutsummaryrefslogtreecommitdiff
path: root/update-ref.c
diff options
context:
space:
mode:
authorPeter Hagervall <hager@cs.umu.se>2005-09-28 14:04:54 +0200
committerJunio C Hamano <junkio@cox.net>2005-09-28 16:38:52 -0700
commita7928f8ec7fb3c368e6086ab48f41e33a22e1b94 (patch)
tree0b06ca974f9c5a5a3640f3b4b506e8117b7b5daf /update-ref.c
parent5acb6de13d7af33abcfcbdc885ec365e6a51c486 (diff)
downloadgit-a7928f8ec7fb3c368e6086ab48f41e33a22e1b94.tar.gz
git-a7928f8ec7fb3c368e6086ab48f41e33a22e1b94.tar.xz
[PATCH] Make some needlessly global stuff static
Insert 'static' where appropriate. Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
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];