summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/attr.h2
1 files changed, 1 insertions, 1 deletions
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.