mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Remove unused function vim_free_in_input_buf.
This commit is contained in:
7
src/ui.c
7
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.
|
||||
|
1
src/ui.h
1
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);
|
||||
|
Reference in New Issue
Block a user