From: Zbigniew Jędrzejewski-Szmek Date: Thu, 10 Apr 2014 13:48:59 +0000 (-0400) Subject: Unify GREEDY_REALLOC and GREEDY_REALLOC_T X-Git-Tag: v213~429 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=ca2d37841476e6272c9957c3f5a0cbe869a531ca;hp=ca2d37841476e6272c9957c3f5a0cbe869a531ca 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. ---