From 39a272c4db215c2f6043e8c5de5d2104d8118b4f Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Sat, 10 May 2014 01:09:33 -0300 Subject: Remove OOM checks: alloc_typebuf() --- src/nvim/getchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/getchar.h') diff --git a/src/nvim/getchar.h b/src/nvim/getchar.h index 527573bdab..edb008bd76 100644 --- a/src/nvim/getchar.h +++ b/src/nvim/getchar.h @@ -31,7 +31,7 @@ int typebuf_changed(int tb_change_cnt); int typebuf_typed(void); int typebuf_maplen(void); void del_typebuf(int len, int offset); -int alloc_typebuf(void); +void alloc_typebuf(void); void free_typebuf(void); int save_typebuf(void); void save_typeahead(tasave_T *tp); -- cgit From a2f6a53b68d73cb585dcb67ea19579d446810176 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Sat, 10 May 2014 01:11:34 -0300 Subject: Remove OOM checks: save_typebuf() --- src/nvim/getchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/getchar.h') diff --git a/src/nvim/getchar.h b/src/nvim/getchar.h index edb008bd76..c34efc8d0c 100644 --- a/src/nvim/getchar.h +++ b/src/nvim/getchar.h @@ -33,7 +33,7 @@ int typebuf_maplen(void); void del_typebuf(int len, int offset); void alloc_typebuf(void); void free_typebuf(void); -int save_typebuf(void); +void save_typebuf(void); void save_typeahead(tasave_T *tp); void restore_typeahead(tasave_T *tp); void openscript(char_u *name, int directly); -- cgit