aboutsummaryrefslogtreecommitdiff
path: root/src/memory.h
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-05-01 18:10:53 -0300
committerJustin M. Keyes <justinkz@gmail.com>2014-05-07 15:52:27 -0400
commitee72c2b18d970a6084bcfae81339fb8d320b73b3 (patch)
tree55de4377202c9fa90b63e3177f099b79b5adc8dc /src/memory.h
parent65273be0609f8f4ccc388a23b33af3333369b11d (diff)
downloadrneovim-ee72c2b18d970a6084bcfae81339fb8d320b73b3.tar.gz
rneovim-ee72c2b18d970a6084bcfae81339fb8d320b73b3.tar.bz2
rneovim-ee72c2b18d970a6084bcfae81339fb8d320b73b3.zip
Delete the lalloc() function
Diffstat (limited to 'src/memory.h')
-rw-r--r--src/memory.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/memory.h b/src/memory.h
index b70f6bdf2d..723e7af814 100644
--- a/src/memory.h
+++ b/src/memory.h
@@ -127,12 +127,7 @@ char *xstpcpy(char *restrict dst, const char *restrict src);
/// @param maxlen
char *xstpncpy(char *restrict dst, const char *restrict src, size_t maxlen);
-/// Old low level memory allocation function.
-///
-/// @deprecated use xmalloc() directly instead
-/// @param size
-/// @return pointer to allocated space. Never NULL
-char_u *lalloc(long_u size, int message) FUNC_ATTR_MALLOC FUNC_ATTR_ALLOC_SIZE(1);
void do_outofmem_msg(long_u size);
void free_all_mem(void);
+
#endif