summaryrefslogtreecommitdiff
path: root/include/git2/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/object.h')
-rw-r--r--include/git2/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/object.h b/include/git2/object.h
index 01dc37ace..9b4517830 100644
--- a/include/git2/object.h
+++ b/include/git2/object.h
@@ -197,7 +197,7 @@ GIT_EXTERN(int) git_object_typeisloose(git_object_t type);
* @param type object type to get its size
* @return size in bytes of the object
*/
-GIT_EXTERN(size_t) git_object__size(git_object_t type);
+GIT_EXTERN(size_t) git_object_size(git_object_t type);
/**
* Recursively peel an object until an object of the specified type is met.