src/video/x11/SDL_x11keyboard.c
changeset 3162 dc1eb82ffdaa
parent 3001 7b031c55aebc
child 3667 cc7eca3a4e13
--- a/src/video/x11/SDL_x11keyboard.c	Sun May 31 11:53:12 2009 +0000
+++ b/src/video/x11/SDL_x11keyboard.c	Wed Jun 03 04:37:27 2009 +0000
@@ -32,7 +32,7 @@
 #include "imKStoUCS.h"
 
 /* *INDENT-OFF* */
-static struct {
+static const struct {
     KeySym keysym;
     SDLKey sdlkey;
 } KeySymToSDLKey[] = {
@@ -132,9 +132,9 @@
     { XK_Mode_switch, SDLK_MODE },
 };
 
-static struct
+static const struct
 {
-    SDL_scancode *table;
+    const SDL_scancode const *table;
     int table_size;
 } scancode_set[] = {
     { darwin_scancode_table, SDL_arraysize(darwin_scancode_table) },