Skip to content

Commit 5d54cff

Browse files
committed
connect.c: make parse_feature_value() static
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5e7dcad commit 5d54cff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cache.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,6 @@ extern struct ref **get_remote_heads(int in, char *src_buf, size_t src_len,
10981098
extern int server_supports(const char *feature);
10991099
extern int parse_feature_request(const char *features, const char *feature);
11001100
extern const char *server_feature_value(const char *feature, int *len_ret);
1101-
extern const char *parse_feature_value(const char *feature_list, const char *feature, int *len_ret);
11021101

11031102
extern struct packed_git *parse_pack_index(unsigned char *sha1, const char *idx_path);
11041103

connect.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "url.h"
99

1010
static char *server_capabilities;
11+
static const char *parse_feature_value(const char *, const char *, int *);
1112

1213
static int check_ref(const char *name, int len, unsigned int flags)
1314
{
@@ -116,7 +117,7 @@ struct ref **get_remote_heads(int in, char *src_buf, size_t src_len,
116117
return list;
117118
}
118119

119-
const char *parse_feature_value(const char *feature_list, const char *feature, int *lenp)
120+
static const char *parse_feature_value(const char *feature_list, const char *feature, int *lenp)
120121
{
121122
int len;
122123

0 commit comments

Comments
 (0)