mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Remove unused function vim_free_in_input_buf.
This commit is contained in:
parent
68c12efed0
commit
e74d75986a
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);
|
||||
|
Loading…
Reference in New Issue
Block a user