aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wienecke <wienecke.t@gmail.com>2014-04-10 19:07:39 +0200
committerThomas Wienecke <wienecke.t@gmail.com>2014-05-03 17:41:05 +0200
commite74d75986a0614b195345a099a9fc239ac517cad (patch)
treed5ce244ed52abc330f211b3970eb1bd1f3d63853
parent68c12efed0411ae53034ac0095bf11e09b4a5385 (diff)
downloadrneovim-e74d75986a0614b195345a099a9fc239ac517cad.tar.gz
rneovim-e74d75986a0614b195345a099a9fc239ac517cad.tar.bz2
rneovim-e74d75986a0614b195345a099a9fc239ac517cad.zip
Remove unused function vim_free_in_input_buf.
-rw-r--r--src/ui.c7
-rw-r--r--src/ui.h1
2 files changed, 0 insertions, 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);