diff options
author | Edward Thomson <ethomson@microsoft.com> | 2012-11-13 05:22:49 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2012-11-13 20:23:05 +0400 |
commit | 603bee07918b50051d7bb45722932fc409b38a67 (patch) | |
tree | 99951bc2c5470bc429d42eb9eb6151b2de6b08be /src/hash.h | |
parent | d6fb09240913c9756de5f4a2462062008ebac252 (diff) |
Remove git_hash_ctx_new - callers now _ctx_init()
Diffstat (limited to 'src/hash.h')
-rw-r--r-- | src/hash.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); |