tty: vt, make color_table const
This means all ->con_set_palette have to have the second parameter const too now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
这个提交包含在:
@@ -1039,7 +1039,7 @@ struct vc_data *vc_deallocate(unsigned int currcons)
|
||||
#define VT100ID "\033[?1;2c"
|
||||
#define VT102ID "\033[?6c"
|
||||
|
||||
unsigned char color_table[] = { 0, 4, 2, 6, 1, 5, 3, 7,
|
||||
const unsigned char color_table[] = { 0, 4, 2, 6, 1, 5, 3, 7,
|
||||
8,12,10,14, 9,13,11,15 };
|
||||
|
||||
/* the default colour table, for VGA+ colour systems */
|
||||
|
在新工单中引用
屏蔽一个用户