diff options
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 0d05cd6653..d1cdd901a0 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -613,3 +613,5 @@ void *unhexmem(const char *p, size_t l); char *strextend(char **x, ...); char *strrep(const char *s, unsigned n); + +void* greedy_realloc(void **p, size_t *allocated, size_t need); |