diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2016-07-03 22:53:26 -0700 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2016-07-12 00:42:48 -0700 |
commit | 239c83d93d894145d74e5aaf06c328258085fc86 (patch) | |
tree | 897946cbbfd6ce0c044a18eba13e026d01a0e4aa /src/tty_interface.c | |
parent | da86472d7399ff110baf819faad927703173b6d2 (diff) |
Add a few missing static declarations
Diffstat (limited to 'src/tty_interface.c')
-rw-r--r-- | src/tty_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |