diff options
Diffstat (limited to 'src/odb.c')
-rw-r--r-- | src/odb.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1497,12 +1497,17 @@ int git_odb_write_pack(struct git_odb_writepack **out, git_odb *db, git_indexer_ return error; } -void *git_odb_backend_malloc(git_odb_backend *backend, size_t len) +void *git_odb_backend_data_alloc(git_odb_backend *backend, size_t len) { GIT_UNUSED(backend); return git__malloc(len); } +void *git_odb_backend_malloc(git_odb_backend *backend, size_t len) +{ + return git_odb_backend_data_alloc(backend, len); +} + int git_odb_refresh(struct git_odb *db) { size_t i; |