diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2009-12-20 18:04:07 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-12-20 18:04:07 +0000 |
| commit | 0201a19d2d80b2dbbeb3f4d6a9904fc552644616 (patch) | |
| tree | f01e6cd3442f6559a41b0c458452713046b72289 /apps | |
| parent | 151c2b25b204c5c69a6f9b174391c174a5128925 (diff) | |
| download | rockbox-0201a19d2d80b2dbbeb3f4d6a9904fc552644616.zip rockbox-0201a19d2d80b2dbbeb3f4d6a9904fc552644616.tar.gz rockbox-0201a19d2d80b2dbbeb3f4d6a9904fc552644616.tar.bz2 rockbox-0201a19d2d80b2dbbeb3f4d6a9904fc552644616.tar.xz | |
Make read-only struct const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24085 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index f381914..501d76e 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1200,8 +1200,8 @@ static int parse_albumart_display(const char *wps_bufptr, #ifdef HAVE_TOUCHSCREEN -struct touchaction {char* s; int action;}; -static struct touchaction touchactions[] = { +struct touchaction {const char* s; int action;}; +static const struct touchaction touchactions[] = { {"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP }, {"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT }, {"ffwd", ACTION_WPS_SEEKFWD }, {"rwd", ACTION_WPS_SEEKBACK }, |