From 603bee07918b50051d7bb45722932fc409b38a67 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 12 Nov 2012 19:22:49 -0600 Subject: Remove git_hash_ctx_new - callers now _ctx_init() --- src/hash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hash.h') diff --git a/src/hash.h b/src/hash.h index 2a9e19837..e3f1f3f66 100644 --- a/src/hash.h +++ b/src/hash.h @@ -12,6 +12,9 @@ typedef struct git_hash_prov git_hash_prov; typedef struct git_hash_ctx git_hash_ctx; +int git_hash_ctx_init(git_hash_ctx *ctx); +void git_hash_ctx_cleanup(git_hash_ctx *ctx); + #if defined(OPENSSL_SHA1) # include "hash/hash_openssl.h" #elif defined(WIN32_SHA1) @@ -27,9 +30,6 @@ typedef struct { size_t len; } git_buf_vec; -git_hash_ctx *git_hash_ctx_new(void); -void git_hash_ctx_free(git_hash_ctx *ctx); - int git_hash_init(git_hash_ctx *c); int git_hash_update(git_hash_ctx *c, const void *data, size_t len); int git_hash_final(git_oid *out, git_hash_ctx *c); -- cgit v1.2.3