tty: vt/Makefile: set the variables to static
authorCong Ding <dinggnu@gmail.com>
Sat, 8 Dec 2012 01:09:03 +0000 (01:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 05:52:24 +0000 (21:52 -0800)
commit92b336f6af9aafddda9e81c0c66c36e61cf2dc47
tree13823a6850b66761b073e8aaefb1921bf4985cd9
parent6f538fe31c1d453b7e7fc4f6e7c6a9bdead4a6f2
tty: vt/Makefile: set the variables to static

tty: vt/Makefile: set the variables to static

In the file drivers/tty/vt/defkeymap.c generated by command
loadkeys --mktable defkeymap.map > defkeymap.c
the 6 variables: shift_map, altgr_map, ctrl_map, shift_ctrl_map, alt_map,
and ctrl_alt_map should be static because they are used only in this file.
There is no reason to remove the static by sed command.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/Makefile