Cleanup the x-allocation functions
Cleanup the x-allocation functions

xmalloc() and xrealloc() now take their sizes as size_t-type arguments.
Introduced complementary xcalloc().

Signed-off-by: Brad Roberts <093700acfc8cc5384584230412ed68b448ed034f@puremagic.com>
Signed-off-by: Petr Baudis <2df6472652419df7dced808d07835f28963a653f@ucw.cz>

destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git,destenson/git