aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index b609232727..2b7b823e6e 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -44,14 +44,6 @@
static void try_to_free_memory();
-/*
- * Note: if unsigned is 16 bits we can only allocate up to 64K with alloc().
- */
-char_u *alloc(unsigned size)
-{
- return xmalloc(size);
-}
-
/// Try to free memory. Used when trying to recover from out of memory errors.
/// @see {xmalloc}
static void try_to_free_memory()