fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit 48232a23593b57815c8d6176593ae4c0a3fe88b9 parent eca3c7b05feadfefd3387611e0519a87a3703aec Author: John Hawthorn <john.hawthorn@gmail.com> Date: Sun, 3 Jul 2016 22:53:26 -0700 Add a few missing static declarations Diffstat:
| M | src/tty_interface.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tty_interface.c b/src/tty_interface.c @@ -97,7 +97,7 @@ static void update_search(tty_interface_t *state) { strcpy(state->last_search, state->search); } -void update_state(tty_interface_t *state) { +static void update_state(tty_interface_t *state) { if (strcmp(state->last_search, state->search)) { update_search(state); draw(state); @@ -233,7 +233,7 @@ static const keybinding_t keybindings[] = {{"\x7f", action_del_char}, /* DEL */ #undef KEY_CTRL -void handle_input(tty_interface_t *state, const char *s) { +static void handle_input(tty_interface_t *state, const char *s) { char *input = state->input; strcat(state->input, s);