diff options
author | John Schmidt <john.schmidt.h@gmail.com> | 2014-04-09 01:05:48 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-10 17:03:50 -0300 |
commit | 3fcdb2ab29f6285b4b5b4fd706db54a98b1a773f (patch) | |
tree | 0b4486d8e2f44c505ea59102b45385e682a6a98e /src/memory.h | |
parent | 321c67d610f0e0a8e818cfbb10d966033eb7db58 (diff) | |
download | rneovim-3fcdb2ab29f6285b4b5b4fd706db54a98b1a773f.tar.gz rneovim-3fcdb2ab29f6285b4b5b4fd706db54a98b1a773f.tar.bz2 rneovim-3fcdb2ab29f6285b4b5b4fd706db54a98b1a773f.zip |
Replace `alloc_check` by `xmalloc`
`alloc_check` is just a wrapper around xmalloc, so we can remove it and use
xmalloc directly. ref #487 / #488
The call was replaced in the following files:
- ex_cmds.c
- misc1.c
- ops.c
Diffstat (limited to 'src/memory.h')
-rw-r--r-- | src/memory.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/memory.h b/src/memory.h index 324670115b..4231ce8435 100644 --- a/src/memory.h +++ b/src/memory.h @@ -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 *alloc_check(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 |