summaryrefslogtreecommitdiff
path: root/src/tty_interface.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2016-07-03 22:53:26 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2016-07-12 00:42:48 -0700
commit239c83d93d894145d74e5aaf06c328258085fc86 (patch)
tree897946cbbfd6ce0c044a18eba13e026d01a0e4aa /src/tty_interface.c
parentda86472d7399ff110baf819faad927703173b6d2 (diff)
Add a few missing static declarations
Diffstat (limited to 'src/tty_interface.c')
-rw-r--r--src/tty_interface.c4
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);