From e810e0635767afbc9b304d5256fbdb26b59644fa Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Fri, 27 Jan 2017 18:02:04 -0800 Subject: attr: tighten const correctness with git_attr and match_attr Signed-off-by: Brandon Williams Signed-off-by: Junio C Hamano --- attr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'attr.h') diff --git a/attr.h b/attr.h index 5aaf55c3e3..abebbc19c9 100644 --- a/attr.h +++ b/attr.h @@ -11,7 +11,7 @@ struct all_attrs_item; * Given a string, return the gitattribute object that * corresponds to it. */ -struct git_attr *git_attr(const char *); +const struct git_attr *git_attr(const char *); /* Internal use */ extern const char git_attr__true[]; -- cgit v1.2.3