summaryrefslogtreecommitdiff
path: root/src/parse/properties/cue.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-20 11:59:46 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-20 11:59:46 +0000
commit33b37afeab6180e4fdc3c97f7f6cc713686ac6a9 (patch)
treefeb641941e4fbd0db11bf70415fee5e3be50a08a /src/parse/properties/cue.c
parenta8537a5405583a4c975b56d95cab8bdd5d406e9f (diff)
downloadlibcss-33b37afeab6180e4fdc3c97f7f6cc713686ac6a9.tar.gz
libcss-33b37afeab6180e4fdc3c97f7f6cc713686ac6a9.tar.bz2
Ensure there are zero global symbols without css_ or css__ in front of them. This helps prevent confusion if someone else wants a function called parse_background or similar
svn path=/trunk/libcss/; revision=11416
Diffstat (limited to 'src/parse/properties/cue.c')
-rw-r--r--src/parse/properties/cue.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parse/properties/cue.c b/src/parse/properties/cue.c
index 096c121..ea94adb 100644
--- a/src/parse/properties/cue.c
+++ b/src/parse/properties/cue.c
@@ -27,7 +27,7 @@
* Post condition: \a *ctx is updated with the next token to process
* If the input is invalid, then \a *ctx remains unchanged.
*/
-css_error parse_cue(css_language *c,
+css_error css__parse_cue(css_language *c,
const parserutils_vector *vector, int *ctx,
css_style *result)
{
@@ -44,7 +44,7 @@ css_error parse_cue(css_language *c,
first_token = parserutils_vector_peek(vector, *ctx);
- error = parse_cue_before(c, vector, ctx, result);
+ error = css__parse_cue_before(c, vector, ctx, result);
if (error == CSS_OK) {
/* first token parsed */
@@ -54,14 +54,14 @@ css_error parse_cue(css_language *c,
if (token == NULL) {
/* no second token, re-parse the first */
*ctx = orig_ctx;
- error = parse_cue_after(c, vector, ctx, result);
+ error = css__parse_cue_after(c, vector, ctx, result);
} else {
/* second token - might be useful */
if (is_css_inherit(c, token)) {
/* another inherit which is bogus */
error = CSS_INVALID;
} else {
- error = parse_cue_after(c, vector, ctx, result);
+ error = css__parse_cue_after(c, vector, ctx, result);
if (error == CSS_OK) {
/* second token parsed */
if (is_css_inherit(c, first_token)) {
@@ -71,7 +71,7 @@ css_error parse_cue(css_language *c,
} else {
/* second token appears to be junk re-try with first */
*ctx = orig_ctx;
- error = parse_cue_after(c, vector, ctx, result);
+ error = css__parse_cue_after(c, vector, ctx, result);
}
}
}