summaryrefslogtreecommitdiff
path: root/src/hash/hash_generic.c
diff options
context:
space:
mode:
authorMichael Schubert <schu@schu.io>2013-02-26 01:03:56 +0100
committerMichael Schubert <schu@schu.io>2013-02-26 01:08:34 +0100
commit8005c6d420a2d8f00d96c1c0a385db91c88613c0 (patch)
tree64a800fed99465a16f88e903964b7d940feba8b6 /src/hash/hash_generic.c
parentf657688bc7616b189ea455ade4c8a4909e2786d8 (diff)
downloadlibgit2-8005c6d420a2d8f00d96c1c0a385db91c88613c0.tar.gz
Revert "hash: remove git_hash_init from internal api"
This reverts commit efe7fad6c96a3d6197a218aeaa561ec676794499, except for the indentation fixes.
Diffstat (limited to 'src/hash/hash_generic.c')
-rw-r--r--src/hash/hash_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/hash_generic.c b/src/hash/hash_generic.c
index e496d1f5e..32fcd869c 100644
--- a/src/hash/hash_generic.c
+++ b/src/hash/hash_generic.c
@@ -221,7 +221,7 @@ static void hash__block(git_hash_ctx *ctx, const unsigned int *data)
ctx->H[4] += E;
}
-int git_hash_ctx_init(git_hash_ctx *ctx)
+int git_hash_init(git_hash_ctx *ctx)
{
ctx->size = 0;