summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-04 02:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-04 02:01:11 +0100
commit4740ecbeaef04ece4e58edc0e29a21cd5282896f (patch)
treeba76f611776380a344db073efd1e3f970bab1f40 /input-keys.c
parentddfed259f69e7f4242bfba6095ce3928b81b21f0 (diff)
parent1b31d148c94f48932f439baa4d336e7de1035ddf (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'input-keys.c')
-rw-r--r--input-keys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/input-keys.c b/input-keys.c
index 9538e876..437ff622 100644
--- a/input-keys.c
+++ b/input-keys.c
@@ -30,7 +30,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;
@@ -41,7 +41,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 },
@@ -231,7 +231,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];