aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/utils.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-07-19 21:54:57 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-07-19 21:54:57 -0300
commit3468762d7a830bd68dafdc4c8d489f965fd48b42 (patch)
tree28b34e92f36275f37280f8816dee266275427b80 /src/utils/utils.h
parent8aaa346994fe87ce0badfd3ac0c2ee302c86716c (diff)
downloadblogc-3468762d7a830bd68dafdc4c8d489f965fd48b42.tar.gz
blogc-3468762d7a830bd68dafdc4c8d489f965fd48b42.tar.bz2
blogc-3468762d7a830bd68dafdc4c8d489f965fd48b42.zip
utils/mem: added safe realloc
Diffstat (limited to 'src/utils/utils.h')
-rw-r--r--src/utils/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/utils.h b/src/utils/utils.h
index 8029a6c..5a1505b 100644
--- a/src/utils/utils.h
+++ b/src/utils/utils.h
@@ -72,5 +72,6 @@ unsigned int b_trie_size(b_trie_t *trie);
void b_trie_foreach(b_trie_t *trie, void (*func)(const char *key, void *data));
void* b_malloc(size_t size);
+void* b_realloc(void *ptr, size_t size);
#endif /* _UTILS_UTILS_H */