[upatch #11] 2.4.3-ac5 - static const char *foo to static char foo[]

From: Francois Romieu (romieu@cogenit.fr)
Date: Thu Apr 12 2001 - 16:20:36 EST


Hello,

  it compiles fine and there is no MAINTAINER entry for it nor specific
email address in the source file.

diff -u --recursive linux-2.4.3-ac5.orig/drivers/char/keyboard.c linux-2.4.3-ac5/drivers/char/keyboard.c
--- linux-2.4.3-ac5.orig/drivers/char/keyboard.c Thu Apr 12 20:23:06 2001
+++ linux-2.4.3-ac5/drivers/char/keyboard.c Thu Apr 12 21:10:37 2001
@@ -632,8 +632,8 @@
 
 static void do_pad(unsigned char value, char up_flag)
 {
- static const char *pad_chars = "0123456789+-*/\015,.?()";
- static const char *app_map = "pqrstuvwxylSRQMnnmPQ";
+ static char pad_chars[] = "0123456789+-*/\015,.?()";
+ static char app_map[] = "pqrstuvwxylSRQMnnmPQ";
 
         if (up_flag)
                 return; /* no action, if this is a key release */
@@ -689,7 +689,7 @@
 
 static void do_cur(unsigned char value, char up_flag)
 {
- static const char *cur_chars = "BDCA";
+ static char cur_chars[] = "BDCA";
         if (up_flag)
                 return;
 

-- 
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 15 2001 - 21:00:20 EST