From 1b31d148c94f48932f439baa4d336e7de1035ddf Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 3 Oct 2016 22:52:11 +0000 Subject: Remove some dead code in cmd-move-window.c and make a load of local functions static. --- input-keys.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'input-keys.c') diff --git a/input-keys.c b/input-keys.c index 41bd5ab5..767c5ca9 100644 --- a/input-keys.c +++ b/input-keys.c @@ -31,7 +31,7 @@ * direction with output). */ -void input_key_mouse(struct window_pane *, struct mouse_event *); +static void input_key_mouse(struct window_pane *, struct mouse_event *); struct input_key_ent { key_code key; @@ -42,7 +42,7 @@ struct input_key_ent { #define INPUTKEY_CURSOR 0x2 /* cursor key */ }; -const struct input_key_ent input_keys[] = { +static const struct input_key_ent input_keys[] = { /* Backspace key. */ { KEYC_BSPACE, "\177", 0 }, @@ -232,7 +232,7 @@ input_key(struct window_pane *wp, key_code key, struct mouse_event *m) } /* Translate mouse and output. */ -void +static void input_key_mouse(struct window_pane *wp, struct mouse_event *m) { char buf[40]; -- cgit