Mark some arrays that never change as const.

This commit is contained in:
Anton Khirnov
2016-07-03 10:09:36 +02:00
parent b420a27e74
commit fd9212f2ed
51 changed files with 129 additions and 129 deletions

View File

@@ -152,7 +152,7 @@ typedef struct ColorEntry {
uint8_t rgb_color[3]; ///< RGB values for the color
} ColorEntry;
static ColorEntry color_table[] = {
static const ColorEntry color_table[] = {
{ "AliceBlue", { 0xF0, 0xF8, 0xFF } },
{ "AntiqueWhite", { 0xFA, 0xEB, 0xD7 } },
{ "Aqua", { 0x00, 0xFF, 0xFF } },