skinparser lib: even more const correctness, should fix checkwps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27642 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-07-31 16:30:22 +00:00
parent 597ccddb39
commit 804437af56
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ char *error_line_start;
char* error_message;
/* Debugging functions */
void skin_error(enum skin_errorcode error, char* cursor)
void skin_error(enum skin_errorcode error, const char* cursor)
{
error_col = 0;

View file

@ -35,7 +35,7 @@ extern "C"
#include "skin_parser.h"
#ifdef SKINPARSER_DEBUG
/* Debugging functions */
void skin_error(enum skin_errorcode error, char* cursor);
void skin_error(enum skin_errorcode error, const char* cursor);
int skin_error_line(void);
int skin_error_col(void);
char* skin_error_message(void);