summaryrefslogtreecommitdiff
path: root/src/strmap.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/strmap.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/strmap.h')
-rw-r--r--src/strmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strmap.h b/src/strmap.h
index 8985aaf7e..dfbe5639f 100644
--- a/src/strmap.h
+++ b/src/strmap.h
@@ -12,6 +12,7 @@
#define kmalloc git__malloc
#define kcalloc git__calloc
#define krealloc git__realloc
+#define kreallocarray git__reallocarray
#define kfree git__free
#include "khash.h"