mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
tty: vt, use proper type for default colors
Every user of default_red, default_grn, and default_blu treats them as unsigned char. So make it really unsigned char. And indent the initializers and module_param properly. This saves ~ 100 bytes of data. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8ede5cce4f
commit
91e74ca5e7
2 changed files with 19 additions and 12 deletions
|
@ -25,9 +25,9 @@ extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry);
|
|||
extern int console_blanked;
|
||||
|
||||
extern const unsigned char color_table[];
|
||||
extern int default_red[];
|
||||
extern int default_grn[];
|
||||
extern int default_blu[];
|
||||
extern unsigned char default_red[];
|
||||
extern unsigned char default_grn[];
|
||||
extern unsigned char default_blu[];
|
||||
|
||||
extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed);
|
||||
extern u16 screen_glyph(struct vc_data *vc, int offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue