Commit 8410e655 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: constify XPM data

Constify arrays as well as strings.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 22a4ac02
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include "images.h" #include "images.h"
const char *xpm_load[] = { const char * const xpm_load[] = {
"22 22 5 1", "22 22 5 1",
". c None", ". c None",
"# c #000000", "# c #000000",
...@@ -35,7 +35,7 @@ const char *xpm_load[] = { ...@@ -35,7 +35,7 @@ const char *xpm_load[] = {
"###############.......", "###############.......",
"......................"}; "......................"};
const char *xpm_save[] = { const char * const xpm_save[] = {
"22 22 5 1", "22 22 5 1",
". c None", ". c None",
"# c #000000", "# c #000000",
...@@ -65,7 +65,7 @@ const char *xpm_save[] = { ...@@ -65,7 +65,7 @@ const char *xpm_save[] = {
"..##################..", "..##################..",
"......................"}; "......................"};
const char *xpm_back[] = { const char * const xpm_back[] = {
"22 22 3 1", "22 22 3 1",
". c None", ". c None",
"# c #000083", "# c #000083",
...@@ -93,7 +93,7 @@ const char *xpm_back[] = { ...@@ -93,7 +93,7 @@ const char *xpm_back[] = {
"......................", "......................",
"......................"}; "......................"};
const char *xpm_tree_view[] = { const char * const xpm_tree_view[] = {
"22 22 2 1", "22 22 2 1",
". c None", ". c None",
"# c #000000", "# c #000000",
...@@ -120,7 +120,7 @@ const char *xpm_tree_view[] = { ...@@ -120,7 +120,7 @@ const char *xpm_tree_view[] = {
"......................", "......................",
"......................"}; "......................"};
const char *xpm_single_view[] = { const char * const xpm_single_view[] = {
"22 22 2 1", "22 22 2 1",
". c None", ". c None",
"# c #000000", "# c #000000",
...@@ -147,7 +147,7 @@ const char *xpm_single_view[] = { ...@@ -147,7 +147,7 @@ const char *xpm_single_view[] = {
"......................", "......................",
"......................"}; "......................"};
const char *xpm_split_view[] = { const char * const xpm_split_view[] = {
"22 22 2 1", "22 22 2 1",
". c None", ". c None",
"# c #000000", "# c #000000",
...@@ -174,7 +174,7 @@ const char *xpm_split_view[] = { ...@@ -174,7 +174,7 @@ const char *xpm_split_view[] = {
"......................", "......................",
"......................"}; "......................"};
const char *xpm_symbol_no[] = { const char * const xpm_symbol_no[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -191,7 +191,7 @@ const char *xpm_symbol_no[] = { ...@@ -191,7 +191,7 @@ const char *xpm_symbol_no[] = {
" .......... ", " .......... ",
" "}; " "};
const char *xpm_symbol_mod[] = { const char * const xpm_symbol_mod[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -208,7 +208,7 @@ const char *xpm_symbol_mod[] = { ...@@ -208,7 +208,7 @@ const char *xpm_symbol_mod[] = {
" .......... ", " .......... ",
" "}; " "};
const char *xpm_symbol_yes[] = { const char * const xpm_symbol_yes[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -225,7 +225,7 @@ const char *xpm_symbol_yes[] = { ...@@ -225,7 +225,7 @@ const char *xpm_symbol_yes[] = {
" .......... ", " .......... ",
" "}; " "};
const char *xpm_choice_no[] = { const char * const xpm_choice_no[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -242,7 +242,7 @@ const char *xpm_choice_no[] = { ...@@ -242,7 +242,7 @@ const char *xpm_choice_no[] = {
" .... ", " .... ",
" "}; " "};
const char *xpm_choice_yes[] = { const char * const xpm_choice_yes[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -259,7 +259,7 @@ const char *xpm_choice_yes[] = { ...@@ -259,7 +259,7 @@ const char *xpm_choice_yes[] = {
" .... ", " .... ",
" "}; " "};
const char *xpm_menu[] = { const char * const xpm_menu[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -276,7 +276,7 @@ const char *xpm_menu[] = { ...@@ -276,7 +276,7 @@ const char *xpm_menu[] = {
" .......... ", " .......... ",
" "}; " "};
const char *xpm_menu_inv[] = { const char * const xpm_menu_inv[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -293,7 +293,7 @@ const char *xpm_menu_inv[] = { ...@@ -293,7 +293,7 @@ const char *xpm_menu_inv[] = {
" .......... ", " .......... ",
" "}; " "};
const char *xpm_menuback[] = { const char * const xpm_menuback[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
...@@ -310,7 +310,7 @@ const char *xpm_menuback[] = { ...@@ -310,7 +310,7 @@ const char *xpm_menuback[] = {
" .......... ", " .......... ",
" "}; " "};
const char *xpm_void[] = { const char * const xpm_void[] = {
"12 12 2 1", "12 12 2 1",
" c white", " c white",
". c black", ". c black",
......
...@@ -10,21 +10,21 @@ ...@@ -10,21 +10,21 @@
extern "C" { extern "C" {
#endif #endif
extern const char *xpm_load[]; extern const char * const xpm_load[];
extern const char *xpm_save[]; extern const char * const xpm_save[];
extern const char *xpm_back[]; extern const char * const xpm_back[];
extern const char *xpm_tree_view[]; extern const char * const xpm_tree_view[];
extern const char *xpm_single_view[]; extern const char * const xpm_single_view[];
extern const char *xpm_split_view[]; extern const char * const xpm_split_view[];
extern const char *xpm_symbol_no[]; extern const char * const xpm_symbol_no[];
extern const char *xpm_symbol_mod[]; extern const char * const xpm_symbol_mod[];
extern const char *xpm_symbol_yes[]; extern const char * const xpm_symbol_yes[];
extern const char *xpm_choice_no[]; extern const char * const xpm_choice_no[];
extern const char *xpm_choice_yes[]; extern const char * const xpm_choice_yes[];
extern const char *xpm_menu[]; extern const char * const xpm_menu[];
extern const char *xpm_menu_inv[]; extern const char * const xpm_menu_inv[];
extern const char *xpm_menuback[]; extern const char * const xpm_menuback[];
extern const char *xpm_void[]; extern const char * const xpm_void[];
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment