summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-09-17 16:29:28 -0700
committerJunio C Hamano <gitster@pobox.com>2013-09-17 21:52:06 -0700
commit5d54cffc36f654721302a717ff12fb317c1b494a (patch)
treeb65fc8d8e611606309f9ffd50ab690c472f44ba4 /connect.c
parent5e7dcad771cb873e278a0571b46910d7c32e2f6c (diff)
downloadgit-5d54cffc36f654721302a717ff12fb317c1b494a.tar.gz
connect.c: make parse_feature_value() static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.c')
-rw-r--r--connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/connect.c b/connect.c
index a0783d4867..e4c7ae6e72 100644
--- a/connect.c
+++ b/connect.c
@@ -8,6 +8,7 @@
#include "url.h"
static char *server_capabilities;
+static const char *parse_feature_value(const char *, const char *, int *);
static int check_ref(const char *name, int len, unsigned int flags)
{
@@ -116,7 +117,7 @@ struct ref **get_remote_heads(int in, char *src_buf, size_t src_len,
return list;
}
-const char *parse_feature_value(const char *feature_list, const char *feature, int *lenp)
+static const char *parse_feature_value(const char *feature_list, const char *feature, int *lenp)
{
int len;