summaryrefslogtreecommitdiff
path: root/include/git2/odb.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-11-26 04:59:21 +0100
committerVicent Marti <tanoku@gmail.com>2011-11-26 08:48:00 +0100
commit45e79e37012ffec58c754000c23077ecac2da753 (patch)
tree809092609a4ca641ada8990c9008c7fb96c9cc07 /include/git2/odb.h
parent9462c471435b4de74848408bebe41d770dc49a50 (diff)
downloadlibgit2-45e79e37012ffec58c754000c23077ecac2da753.tar.gz
Rename all `_close` methods
There's no difference between `_free` and `_close` semantics: keep everything with the same name to avoid confusions.
Diffstat (limited to 'include/git2/odb.h')
-rw-r--r--include/git2/odb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/odb.h b/include/git2/odb.h
index b99c40e00..b144eca7d 100644
--- a/include/git2/odb.h
+++ b/include/git2/odb.h
@@ -282,7 +282,7 @@ GIT_EXTERN(int) git_odb_hashfile(git_oid *out, const char *path, git_otype type)
*
* @param object object to close
*/
-GIT_EXTERN(void) git_odb_object_close(git_odb_object *object);
+GIT_EXTERN(void) git_odb_object_free(git_odb_object *object);
/**
* Return the OID of an ODB object