diff options
author | Peter Hagervall <hager@cs.umu.se> | 2005-09-28 14:04:54 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-28 16:38:52 -0700 |
commit | a7928f8ec7fb3c368e6086ab48f41e33a22e1b94 (patch) | |
tree | 0b06ca974f9c5a5a3640f3b4b506e8117b7b5daf /update-ref.c | |
parent | [PATCH] Support for more CURL SSL settings via environment variables (diff) | |
download | tgif-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-ref.c b/update-ref.c index 01496f6a92..1863b82324 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]; |