summaryrefslogtreecommitdiff
path: root/deps/hiredis/sdsalloc.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-12-21 12:11:56 +0100
committerantirez <antirez@gmail.com>2016-12-21 12:12:36 +0100
commit6712bce92c79de5c2caa38e9b597a3fa52fd497f (patch)
tree1de4191534a6f7a0cb30f1efaee2a7af4fb334e0 /deps/hiredis/sdsalloc.h
parent0b7691201e255ed21a0fdf6779199de0d7c1498c (diff)
downloadredis-6712bce92c79de5c2caa38e9b597a3fa52fd497f.tar.gz
deps/hiredis updated to latest version.
Close #3687.
Diffstat (limited to 'deps/hiredis/sdsalloc.h')
-rw-r--r--deps/hiredis/sdsalloc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/hiredis/sdsalloc.h b/deps/hiredis/sdsalloc.h
index 531d41929..f43023c48 100644
--- a/deps/hiredis/sdsalloc.h
+++ b/deps/hiredis/sdsalloc.h
@@ -1,6 +1,7 @@
/* SDSLib 2.0 -- A C dynamic strings library
*
* Copyright (c) 2006-2015, Salvatore Sanfilippo <antirez at gmail dot com>
+ * Copyright (c) 2015, Oran Agra
* Copyright (c) 2015, Redis Labs, Inc
* All rights reserved.
*
@@ -36,7 +37,6 @@
* the include of your alternate allocator if needed (not needed in order
* to use the default libc allocator). */
-#include "zmalloc.h"
-#define s_malloc zmalloc
-#define s_realloc zrealloc
-#define s_free zfree
+#define s_malloc malloc
+#define s_realloc realloc
+#define s_free free