Commit c9d78bde943213f4c2594d1df175336573678b74

Vicent Martí 2012-08-11T18:21:44

Merge pull request #863 from joshtriplett/export-git_attr_value Export git_attr_value

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/attr.h b/include/git2/attr.h
index d675f75..2de9f4b 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.