aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/selection.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2016-03-31 10:08:17 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-30 09:26:55 -0700
commit91e74ca5e7ac4ec6c61b84d6618eb5e401f852f0 (patch)
tree14382b2b319b99bfd6833dbf08ad661e6b2dfb16 /include/linux/selection.h
parenttty: vt, make color_table const (diff)
downloadwireguard-linux-91e74ca5e7ac4ec6c61b84d6618eb5e401f852f0.tar.xz
wireguard-linux-91e74ca5e7ac4ec6c61b84d6618eb5e401f852f0.zip
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>
Diffstat (limited to 'include/linux/selection.h')
-rw-r--r--include/linux/selection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/selection.h b/include/linux/selection.h
index 7e6c4450b8a5..8e4624efdb6f 100644
--- a/include/linux/selection.h
+++ b/include/linux/selection.h
@@ -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);