Remove lalloc_clear

Use `xcalloc` instead. Change some local variables
to avoid casting.
This commit is contained in:
John Schmidt
2014-04-18 01:52:48 +02:00
committed by Thiago de Arruda
parent 204d3dfafc
commit 63cc8b6934
7 changed files with 9 additions and 22 deletions

View File

@@ -7,7 +7,6 @@
char_u *alloc(unsigned size) FUNC_ATTR_MALLOC FUNC_ATTR_ALLOC_SIZE(1);
char_u *alloc_clear(unsigned size) FUNC_ATTR_MALLOC FUNC_ATTR_ALLOC_SIZE(1);
char_u *lalloc_clear(long_u size, int message) FUNC_ATTR_MALLOC FUNC_ATTR_ALLOC_SIZE(1);
/// malloc() wrapper
///