Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Make some needlessly global stuff static
[gitweb.git]
/
update-ref.c
diff --git
a/update-ref.c
b/update-ref.c
index 01496f6a92f68d25dd160ec7c42004d7e395fe5b..1863b823240790c450e29c1c82041972713d716b 100644
(file)
--- 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];