diff --git a/3rd/libunibreak/linebreak.c b/3rd/libunibreak/linebreak.c index 5b2ce3b18..2219764ac 100644 --- a/3rd/libunibreak/linebreak.c +++ b/3rd/libunibreak/linebreak.c @@ -84,7 +84,7 @@ enum BreakAction * adjusted after special processing as per LB8a of Revision 41) and CB * (manually added as per LB20). */ -static enum BreakAction baTable[LBP_CB][LBP_CB] = { +static const enum BreakAction baTable[LBP_CB][LBP_CB] = { { /* OP */ PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, PRH_BRK, diff --git a/src/tkc/color_parser.c b/src/tkc/color_parser.c index b94a88313..553c91c84 100644 --- a/src/tkc/color_parser.c +++ b/src/tkc/color_parser.c @@ -8,7 +8,7 @@ typedef struct _color_map_t { const char* value; } color_map_t; -static color_map_t colors_map[] = {{"aliceblue", "#f0f8ff"}, +static color_map_t const colors_map[] = {{"aliceblue", "#f0f8ff"}, {"antiquewhite", "#faebd7"}, {"aqua", "#00ffff"}, {"aquamarine", "#7fffd4"},