From 239c83d93d894145d74e5aaf06c328258085fc86 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sun, 3 Jul 2016 22:53:26 -0700 Subject: Add a few missing static declarations --- src/tty_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tty_interface.c') diff --git a/src/tty_interface.c b/src/tty_interface.c index 9ca93c1..875f6c3 100644 --- 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); -- cgit v1.2.3