diff --git a/include/git2/attr.h b/include/git2/attr.h index d675f7555..2de9f4b0e 100644 --- a/include/git2/attr.h +++ b/include/git2/attr.h @@ -96,7 +96,7 @@ typedef enum { * @param attr The attribute * @return the value type for the attribute */ -git_attr_t git_attr_value(const char *attr); +GIT_EXTERN(git_attr_t) git_attr_value(const char *attr); /** * Check attribute flags: Reading values from index and working directory.