* [upatch #11] 2.4.3-ac5 - static const char *foo to static char foo[]
@ 2001-04-12 21:20 Francois Romieu
0 siblings, 0 replies; only message in thread
From: Francois Romieu @ 2001-04-12 21:20 UTC (permalink / raw)
To: linux-kernel; +Cc: kernel-janitor-discuss
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-04-12 21:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-12 21:20 [upatch #11] 2.4.3-ac5 - static const char *foo to static char foo[] Francois Romieu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®