diff options
author | Sakari Jokinen <sakariij@gmail.com> | 2011-02-25 19:05:29 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-05 13:46:27 +0200 |
commit | 9de27ad0c453f98844cc91ce4e39d338b1fb8338 (patch) | |
tree | 80c19d65ac74850b0edb0e231944f317748355e3 /include/git2/tree.h | |
parent | 3490188b3c40b7a6cddd4acb11ee76db171dc5ef (diff) | |
download | libgit2-9de27ad0c453f98844cc91ce4e39d338b1fb8338.tar.gz |
Check for valid range of attributes for tree entry
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r-- | include/git2/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h index 70040f058..a3c601291 100644 --- a/include/git2/tree.h +++ b/include/git2/tree.h @@ -215,7 +215,7 @@ GIT_EXTERN(void) git_tree_entry_set_name(git_tree_entry *entry, const char *name * @param entry Entry object which will be modified * @param oid new attributes for the entry */ -GIT_EXTERN(void) git_tree_entry_set_attributes(git_tree_entry *entry, int attr); +GIT_EXTERN(int) git_tree_entry_set_attributes(git_tree_entry *entry, int attr); /** @} */ GIT_END_DECL |