diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-01-01 03:43:20 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-01-01 03:43:20 +0000 |
commit | f833b885a17463658d8d5e814a4b3e269c3678c9 (patch) | |
tree | 7b78b8dd1c7525d3572651e2f7620c1b9cc47311 /input-keys.c | |
parent | 67ee86085cc8e13222a6d5b4cc67c5f0934f0b3b (diff) | |
download | rtmux-f833b885a17463658d8d5e814a4b3e269c3678c9.tar.gz rtmux-f833b885a17463658d8d5e814a4b3e269c3678c9.tar.bz2 rtmux-f833b885a17463658d8d5e814a4b3e269c3678c9.zip |
Last few tables that should be const.
Diffstat (limited to 'input-keys.c')
-rw-r--r-- | input-keys.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/input-keys.c b/input-keys.c index 81976123..ac759684 100644 --- a/input-keys.c +++ b/input-keys.c @@ -40,7 +40,7 @@ struct input_key_ent { #define INPUTKEY_CURSOR 0x2 /* cursor key */ }; -struct input_key_ent input_keys[] = { +const struct input_key_ent input_keys[] = { /* Backspace key. */ { KEYC_BSPACE, "\177", 0 }, @@ -137,11 +137,11 @@ struct input_key_ent input_keys[] = { void input_key(struct window_pane *wp, int key) { - struct input_key_ent *ike; - u_int i; - size_t dlen; - char *out; - u_char ch; + const struct input_key_ent *ike; + u_int i; + size_t dlen; + char *out; + u_char ch; log_debug2("writing key 0x%x", key); |