summaryrefslogtreecommitdiff
path: root/lib/skin_parser
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-07-31 16:30:22 +0000
committerNils Wallménius <nils@rockbox.org>2010-07-31 16:30:22 +0000
commit804437af56a15d5f6cf7173f4181428fa39ab11f (patch)
tree4596a06f33c50b11ab699213f1e9d402cd557375 /lib/skin_parser
parent597ccddb39c625812157db7ab4bda4b4209021ac (diff)
downloadrockbox-804437af56a15d5f6cf7173f4181428fa39ab11f.tar.gz
rockbox-804437af56a15d5f6cf7173f4181428fa39ab11f.zip
skinparser lib: even more const correctness, should fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27642 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'lib/skin_parser')
-rw-r--r--lib/skin_parser/skin_debug.c2
-rw-r--r--lib/skin_parser/skin_debug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c
index 88ad209cce..633e770a10 100644
--- a/lib/skin_parser/skin_debug.c
+++ b/lib/skin_parser/skin_debug.c
@@ -39,7 +39,7 @@ char *error_line_start;
39char* error_message; 39char* error_message;
40 40
41/* Debugging functions */ 41/* Debugging functions */
42void skin_error(enum skin_errorcode error, char* cursor) 42void skin_error(enum skin_errorcode error, const char* cursor)
43{ 43{
44 44
45 error_col = 0; 45 error_col = 0;
diff --git a/lib/skin_parser/skin_debug.h b/lib/skin_parser/skin_debug.h
index c3538083d2..3f1a7d7edd 100644
--- a/lib/skin_parser/skin_debug.h
+++ b/lib/skin_parser/skin_debug.h
@@ -35,7 +35,7 @@ extern "C"
35#include "skin_parser.h" 35#include "skin_parser.h"
36#ifdef SKINPARSER_DEBUG 36#ifdef SKINPARSER_DEBUG
37/* Debugging functions */ 37/* Debugging functions */
38void skin_error(enum skin_errorcode error, char* cursor); 38void skin_error(enum skin_errorcode error, const char* cursor);
39int skin_error_line(void); 39int skin_error_line(void);
40int skin_error_col(void); 40int skin_error_col(void);
41char* skin_error_message(void); 41char* skin_error_message(void);