mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 21:03:32 +00:00
speakup: use C99 syntax for array initializers
The older obsolete array initializer syntax is currently being used
for some of the array elements. Fix this by using the preferred C99
array initializers syntax.
Fixes: 5b5140bf51
("speakup: Separate out translations for bright colors names")
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210715163122.62220-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
01c54e6289
commit
f83461e658
1 changed files with 7 additions and 7 deletions
|
@ -90,13 +90,13 @@ static char *speakup_default_msgs[MSG_LAST_INDEX] = {
|
|||
[MSG_COLOR_YELLOW] = "yellow",
|
||||
[MSG_COLOR_WHITE] = "white",
|
||||
[MSG_COLOR_GREY] = "grey",
|
||||
[MSG_COLOR_BRIGHTBLUE] "bright blue",
|
||||
[MSG_COLOR_BRIGHTGREEN] "bright green",
|
||||
[MSG_COLOR_BRIGHTCYAN] "bright cyan",
|
||||
[MSG_COLOR_BRIGHTRED] "bright red",
|
||||
[MSG_COLOR_BRIGHTMAGENTA] "bright magenta",
|
||||
[MSG_COLOR_BRIGHTYELLOW] "bright yellow",
|
||||
[MSG_COLOR_BRIGHTWHITE] "bright white",
|
||||
[MSG_COLOR_BRIGHTBLUE] = "bright blue",
|
||||
[MSG_COLOR_BRIGHTGREEN] = "bright green",
|
||||
[MSG_COLOR_BRIGHTCYAN] = "bright cyan",
|
||||
[MSG_COLOR_BRIGHTRED] = "bright red",
|
||||
[MSG_COLOR_BRIGHTMAGENTA] = "bright magenta",
|
||||
[MSG_COLOR_BRIGHTYELLOW] = "bright yellow",
|
||||
[MSG_COLOR_BRIGHTWHITE] = "bright white",
|
||||
|
||||
/* Names of key states. */
|
||||
[MSG_STATE_DOUBLE] = "double",
|
||||
|
|
Loading…
Reference in a new issue