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 0e52993412..ddf71b3ac1 100644
--- a/src/misc2.h
+++ b/src/misc2.h
@@ -29,6 +29,8 @@ 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);
+void *xrealloc(void *ptr, size_t size)
+ FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALLOC_SIZE(2);
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);