diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-20 11:59:46 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-20 11:59:46 +0000 |
commit | 33b37afeab6180e4fdc3c97f7f6cc713686ac6a9 (patch) | |
tree | feb641941e4fbd0db11bf70415fee5e3be50a08a /src/parse/properties/outline.c | |
parent | a8537a5405583a4c975b56d95cab8bdd5d406e9f (diff) | |
download | libcss-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/outline.c')
-rw-r--r-- | src/parse/properties/outline.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/parse/properties/outline.c b/src/parse/properties/outline.c index 7af2cc3..7cd74cd 100644 --- a/src/parse/properties/outline.c +++ b/src/parse/properties/outline.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_outline(css_language *c, +css_error css__parse_outline(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result) { @@ -91,19 +91,19 @@ css_error parse_outline(css_language *c, token = parserutils_vector_peek(vector, *ctx); if (token != NULL && is_css_inherit(c, token)) { error = CSS_INVALID; - goto parse_outline_cleanup; + goto css__parse_outline_cleanup; } if ((color) && - (error = parse_outline_color(c, vector, ctx, + (error = css__parse_outline_color(c, vector, ctx, color_style)) == CSS_OK) { color = false; } else if ((style) && - (error = parse_outline_style(c, vector, + (error = css__parse_outline_style(c, vector, ctx, style_style)) == CSS_OK) { style = false; } else if ((width) && - (error = parse_outline_width(c, vector, + (error = css__parse_outline_width(c, vector, ctx, width_style)) == CSS_OK) { width = false; } @@ -141,16 +141,16 @@ css_error parse_outline(css_language *c, error = css_stylesheet_merge_style(result, color_style); if (error != CSS_OK) - goto parse_outline_cleanup; + goto css__parse_outline_cleanup; error = css_stylesheet_merge_style(result, style_style); if (error != CSS_OK) - goto parse_outline_cleanup; + goto css__parse_outline_cleanup; error = css_stylesheet_merge_style(result, width_style); -parse_outline_cleanup: +css__parse_outline_cleanup: css_stylesheet_style_destroy(width_style); css_stylesheet_style_destroy(style_style); |