From e74d75986a0614b195345a099a9fc239ac517cad Mon Sep 17 00:00:00 2001 From: Thomas Wienecke Date: Thu, 10 Apr 2014 19:07:39 +0200 Subject: [PATCH] Remove unused function vim_free_in_input_buf. --- src/ui.c | 7 ------- src/ui.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/ui.c b/src/ui.c index ba9d55ad44..8ecc63f696 100644 --- a/src/ui.c +++ b/src/ui.c @@ -266,13 +266,6 @@ int vim_is_input_buf_empty(void) return inbufcount == 0; } -#ifdef PROTO -int vim_free_in_input_buf(void) { - return INBUFLEN - inbufcount; -} -#endif - - /* * Return the current contents of the input buffer and make it empty. * The returned pointer must be passed to set_input_buf() later. diff --git a/src/ui.h b/src/ui.h index 8e05c02d1b..bc213ada33 100644 --- a/src/ui.h +++ b/src/ui.h @@ -11,7 +11,6 @@ void ui_set_shellsize(int mustset); void ui_breakcheck(void); int vim_is_input_buf_full(void); int vim_is_input_buf_empty(void); -int vim_free_in_input_buf(void); char_u *get_input_buf(void); void set_input_buf(char_u *p); void add_to_input_buf(char_u *s, int len);