diff --git a/caca/mono9.data b/caca/mono9.data index 06c71a6..9d71d51 100644 --- a/caca/mono9.data +++ b/caca/mono9.data @@ -5,7 +5,7 @@ */ static size_t const mono9_size = 246854; -static uint8_t mono9_data[246854] = +static uint8_t const mono9_data[246854] = { /* file: */ 0xCA,0xCA, /* caca_header */ diff --git a/caca/monobold12.data b/caca/monobold12.data index 1aed61a..b6718f4 100644 --- a/caca/monobold12.data +++ b/caca/monobold12.data @@ -5,7 +5,7 @@ */ static size_t const monobold12_size = 419205; -static uint8_t monobold12_data[419205] = +static uint8_t const monobold12_data[419205] = { /* file: */ 0xCA,0xCA, /* caca_header */ diff --git a/tools/makefont.c b/tools/makefont.c index db7b57a..c327280 100644 --- a/tools/makefont.c +++ b/tools/makefont.c @@ -188,7 +188,7 @@ int main(int argc, char *argv[]) printf("static size_t const %s_size = %i;\n", prefix, 4 + control_size + data_size); - printf("static uint8_t %s_data[%i] =\n", + printf("static uint8_t const %s_data[%i] =\n", prefix, 4 + control_size + data_size); printf("{\n");