diff src/w32fns.c @ 111539:ad93f2dd2d38

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.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sun, 14 Nov 2010 15:55:27 +0900
parents 6316c70b291e
children ca0d9a916432
line wrap: on
line diff
--- a/src/w32fns.c	Sat Nov 13 21:09:11 2010 -0500
+++ b/src/w32fns.c	Sun Nov 14 15:55:27 2010 +0900
@@ -82,7 +82,7 @@
 
 extern int quit_char;
 
-extern char *lispy_function_keys[];
+extern const char *const lispy_function_keys[];
 
 /* The colormap for converting color names to RGB values */
 Lisp_Object Vw32_color_map;