Commit 5389005d by Josh Triplett

Export git_attr_value

Commit 0c9eacf3 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.
parent 738837bd
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment