Export git_attr_value

Commit 0c9eacf3d2 introduced the function
git_attr_value and switched the GIT_ATTR_* macros to use it, but
attempting to use that function leads to a linker error (undefined
reference to `git_attr_value').  Export git_attr_value so programs can
actually call it.
This commit is contained in:
Josh Triplett 2012-08-11 18:14:07 -07:00
parent 738837bdaa
commit 5389005d93

View File

@ -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.