summaryrefslogtreecommitdiff
path: root/src/select/select.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/select/select.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/select/select.c')
-rw-r--r--src/select/select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/select/select.c b/src/select/select.c
index e06bb33..0c9fb30 100644
--- a/src/select/select.c
+++ b/src/select/select.c
@@ -422,7 +422,7 @@ css_error css_select_style(css_select_ctx *ctx, void *node,
* is set to the computed value of color. */
if (parent == NULL) {
/* Only compute absolute values for the base element */
- error = compute_absolute_values(NULL,
+ error = css__compute_absolute_values(NULL,
state.results->styles[CSS_PSEUDO_ELEMENT_NONE],
handler->compute_font_size, pw);
if (error != CSS_OK)
@@ -882,7 +882,7 @@ css_error match_selectors_in_sheet(css_select_ctx *ctx,
bool process = true;
/* Selectors must be matched in ascending order of specificity
- * and rule index. (c.f. outranks_existing())
+ * and rule index. (c.f. css__outranks_existing())
*
* Pick the least specific/earliest occurring selector.
*/
@@ -1300,7 +1300,7 @@ css_error cascade_style(const css_style *style, css_select_state *state)
return CSS_OK;
}
-bool outranks_existing(uint16_t op, bool important, css_select_state *state,
+bool css__outranks_existing(uint16_t op, bool important, css_select_state *state,
bool inherit)
{
prop_state *existing = &state->props[op][state->current_pseudo];