summaryrefslogtreecommitdiff
path: root/src/w32inevt.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2010-11-14 15:55:27 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2010-11-14 15:55:27 +0900
commit24021b384e7ecf31a0f5be632fc45d7413fb2b91 (patch)
tree492d02898afe602edff0d44da4e49bddbd6038cd /src/w32inevt.c
parentafa42fe3f1f069e403c21f2872347c448b06af58 (diff)
downloademacs-24021b384e7ecf31a0f5be632fc45d7413fb2b91.tar.gz
Add const to array elements.
* keyboard.c (modify_event_symbol) : Add const to array elements of arg NAME_TABLE. (lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys) (lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names) (lispy_wheel_names, lispy_drag_n_drop_names, modifier_names): Add const to array elements. (scroll_bar_parts): Make static. Fix position of const. * w32fns.c (lispy_function_keys): Add const to extern. * w32inevt.c (lispy_function_keys): Likewise.
Diffstat (limited to 'src/w32inevt.c')
-rw-r--r--src/w32inevt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32inevt.c b/src/w32inevt.c
index 1111f8dfa44..3757c528e8b 100644
--- a/src/w32inevt.c
+++ b/src/w32inevt.c
@@ -282,7 +282,7 @@ w32_kbd_patch_key (KEY_EVENT_RECORD *event)
}
-extern char *lispy_function_keys[];
+extern const char *const lispy_function_keys[];
static int faked_key = 0;