aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc2.h')
-rw-r--r--src/misc2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc2.h b/src/misc2.h
index d8f13d7640..0e52993412 100644
--- a/src/misc2.h
+++ b/src/misc2.h
@@ -27,6 +27,8 @@ 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);
+void try_to_free_memory();
+void *xmalloc(size_t size) FUNC_ATTR_MALLOC FUNC_ATTR_ALLOC_SIZE(1);
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);