aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/Makefile
diff options
context:
space:
mode:
authorCong Ding <dinggnu@gmail.com>2012-12-07 20:09:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-16 00:52:24 -0500
commit92b336f6af9aafddda9e81c0c66c36e61cf2dc47 (patch)
tree13823a6850b66761b073e8aaefb1921bf4985cd9 /drivers/tty/vt/Makefile
parent6f538fe31c1d453b7e7fc4f6e7c6a9bdead4a6f2 (diff)
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>
Diffstat (limited to 'drivers/tty/vt/Makefile')
-rw-r--r--drivers/tty/vt/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/tty/vt/Makefile b/drivers/tty/vt/Makefile
index 14a51c9960df..17ae94cb29f8 100644
--- a/drivers/tty/vt/Makefile
+++ b/drivers/tty/vt/Makefile
@@ -27,8 +27,6 @@ $(obj)/defkeymap.o: $(obj)/defkeymap.c
27ifdef GENERATE_KEYMAP 27ifdef GENERATE_KEYMAP
28 28
29$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map 29$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
30 loadkeys --mktable $< > $@.tmp 30 loadkeys --mktable $< > $@
31 sed -e 's/^static *//' $@.tmp > $@
32 rm $@.tmp
33 31
34endif 32endif