diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-07-19 21:54:57 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-07-19 21:54:57 -0300 |
commit | 3468762d7a830bd68dafdc4c8d489f965fd48b42 (patch) | |
tree | 28b34e92f36275f37280f8816dee266275427b80 /src/utils/utils.h | |
parent | 8aaa346994fe87ce0badfd3ac0c2ee302c86716c (diff) | |
download | blogc-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.h | 1 |
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 */ |