summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser/skin_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/skin_parser/skin_scan.c')
-rw-r--r--lib/skin_parser/skin_scan.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/skin_parser/skin_scan.c b/lib/skin_parser/skin_scan.c
index d18f2224b3..de9c423f04 100644
--- a/lib/skin_parser/skin_scan.c
+++ b/lib/skin_parser/skin_scan.c
@@ -32,7 +32,7 @@
/* Scanning Functions */
/* Simple function to advance a char* past a comment */
-void skip_comment(char** document)
+void skip_comment(const char** document)
{
while(**document != '\n' && **document != '\0')
(*document)++;
@@ -40,7 +40,7 @@ void skip_comment(char** document)
(*document)++;
}
-void skip_arglist(char** document)
+void skip_arglist(const char** document)
{
if(**document == ARGLISTOPENSYM)
(*document)++;
@@ -66,7 +66,7 @@ void skip_arglist(char** document)
(*document)++;
}
-void skip_enumlist(char** document)
+void skip_enumlist(const char** document)
{
if(**document == ENUMLISTOPENSYM)
(*document)++;
@@ -93,10 +93,10 @@ void skip_enumlist(char** document)
(*document)++;
}
-char* scan_string(char** document)
+char* scan_string(const char** document)
{
- char* cursor = *document;
+ const char* cursor = *document;
int length = 0;
char* buffer = NULL;
int i;
@@ -149,10 +149,10 @@ char* scan_string(char** document)
return buffer;
}
-int scan_int(char** document)
+int scan_int(const char** document)
{
- char* cursor = *document, *end;
+ const char *cursor = *document, *end;
int length = 0;
char buffer[16];
int retval;
@@ -194,7 +194,7 @@ int scan_int(char** document)
return retval;
}
-int check_viewport(char* document)
+int check_viewport(const char* document)
{
if(strlen(document) < 3)
return 0;