patch-1.3.15 linux/drivers/char/keyboard.c
Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Aug 1 10:02:33 1995
- Orig file:
v1.3.14/linux/drivers/char/keyboard.c
- Orig date:
Sat Jun 10 19:13:12 1995
diff -u --recursive --new-file v1.3.14/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -856,8 +856,8 @@
static void do_pad(unsigned char value, char up_flag)
{
- static char *pad_chars = "0123456789+-*/\015,.?";
- static char *app_map = "pqrstuvwxylSRQMnn?";
+ static const char *pad_chars = "0123456789+-*/\015,.?";
+ static const char *app_map = "pqrstuvwxylSRQMnn?";
if (up_flag)
return; /* no action, if this is a key release */
@@ -913,7 +913,7 @@
static void do_cur(unsigned char value, char up_flag)
{
- static char *cur_chars = "BDCA";
+ static const char *cur_chars = "BDCA";
if (up_flag)
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this