summaryrefslogtreecommitdiff
path: root/src/offmap.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-02-11 17:51:17 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-02-12 22:54:48 -0500
commit650e45f69124bd8b53ecefddeb214a82538ab2c1 (patch)
tree90054a25e29144f98bfb256ec2c1fe16f334c5ce /src/offmap.h
parent1ad48c8a08c4bb3b10c0344d838494de9cee087e (diff)
downloadlibgit2-650e45f69124bd8b53ecefddeb214a82538ab2c1.tar.gz
Update `khash.h` to pull request 42
https://github.com/attractivechaos/klib/pull/42/files introduces `kreallocarray`. Hook that up as our `git__reallocarray`.
Diffstat (limited to 'src/offmap.h')
-rw-r--r--src/offmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/offmap.h b/src/offmap.h
index cd46fd687..9471e7b91 100644
--- a/src/offmap.h
+++ b/src/offmap.h
@@ -13,6 +13,7 @@
#define kmalloc git__malloc
#define kcalloc git__calloc
#define krealloc git__realloc
+#define kreallocarray git__reallocarray
#define kfree git__free
#include "khash.h"