diff options
author | nicm <nicm> | 2016-10-03 22:52:11 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-03 22:52:11 +0000 |
commit | 1b31d148c94f48932f439baa4d336e7de1035ddf (patch) | |
tree | fddb9d79fec24cde527a0284605bf278acd7044a /input-keys.c | |
parent | 305c832a97c8e20136d36cf2537f65109fde7c43 (diff) | |
download | rtmux-1b31d148c94f48932f439baa4d336e7de1035ddf.tar.gz rtmux-1b31d148c94f48932f439baa4d336e7de1035ddf.tar.bz2 rtmux-1b31d148c94f48932f439baa4d336e7de1035ddf.zip |
Remove some dead code in cmd-move-window.c and make a load of local
functions static.
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 6 |
1 files changed, 3 insertions, 3 deletions
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]; |