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);