diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-04-10 09:48:59 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-04-12 10:20:55 -0400 |
commit | ca2d37841476e6272c9957c3f5a0cbe869a531ca (patch) | |
tree | ab1dea346bd6342248858be26e9638437141a0d1 /src/shared/unit-name.h | |
parent | 7cc832b91e8f5883b505c42f9f403e03dfc83c89 (diff) |
Unify GREEDY_REALLOC and GREEDY_REALLOC_T
greedy_realloc() and greedy_realloc0() now store the allocated
size as the count, not bytes.
Replace GREEDY_REALLOC uses with GREEDY_REALLOC_T everywhere,
and then rename GREEDY_REALLOC_T to GREEDY_REALLOC. It is just
too error-prone to have two slightly different macros which do the
same thing.
Diffstat (limited to 'src/shared/unit-name.h')
0 files changed, 0 insertions, 0 deletions