Mark internal codecs as static const.
There could become public const arrays later, but for now they're only
used here.
@@ -122,7 +122,7 @@ static vk_to_c_entry vk_to_c[NUM_VK_TO_C_ENTRIES];
/**
Converts TCOD_FONT_LAYOUT_TCOD tile position to Extended ASCII code-point.
*/
-int tcod_codec_eascii_[256] = {
+static const int tcod_codec_eascii_[256] = {
0, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
64, 91, 92, 93, 94, 95, 96, 123, 124, 125, 126, 176, 177, 178, 179, 196,
@@ -180,7 +180,7 @@ static const int tcod_codec_[256] = {
/**
Converts Code Page 437 tile index to Unicode.
*/
-int cp437_codec_[256] = {
+static const int cp437_codec_[256] = {
0x0000, 0x263A, 0x263B, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022,
0x25D8, 0x25CB, 0x25D9, 0x2642, 0x2640, 0x266A, 0x266B, 0x263C,
0x25BA, 0x25C4, 0x2195, 0x203C, 0x00B6, 0x00A7, 0x25AC, 0x21A8,
