From 1295c2152457c2267d605d353332ae4b3e5e5d5c Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 27 Jan 2017 18:01:58 -0800 Subject: attr: retire git_check_attrs() API Since nobody uses the old API, make it file-scope static, and update the documentation to describe the new API. Signed-off-by: Junio C Hamano Signed-off-by: Stefan Beller Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano --- attr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'attr.c') diff --git a/attr.c b/attr.c index 40818246f3..c0e7893b5f 100644 --- a/attr.c +++ b/attr.c @@ -890,7 +890,8 @@ static void collect_some_attrs(const char *path, int num, rem = fill(path, pathlen, basename_offset, stk, rem); } -int git_check_attrs(const char *path, int num, struct attr_check_item *check) +static int git_check_attrs(const char *path, int num, + struct attr_check_item *check) { int i; -- cgit v1.2.3