From 33b37afeab6180e4fdc3c97f7f6cc713686ac6a9 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 20 Jan 2011 11:59:46 +0000 Subject: 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 --- src/parse/properties/font_weight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parse/properties/font_weight.c') diff --git a/src/parse/properties/font_weight.c b/src/parse/properties/font_weight.c index 03e6e51..9c4048b 100644 --- a/src/parse/properties/font_weight.c +++ b/src/parse/properties/font_weight.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_font_weight(css_language *c, +css_error css__parse_font_weight(css_language *c, const parserutils_vector *vector, int *ctx, css_style *result) { @@ -53,7 +53,7 @@ css_error parse_font_weight(css_language *c, flags |= FLAG_INHERIT; } else if (token->type == CSS_TOKEN_NUMBER) { size_t consumed = 0; - css_fixed num = number_from_lwc_string(token->idata, + css_fixed num = css__number_from_lwc_string(token->idata, true, &consumed); /* Invalid if there are trailing characters */ if (consumed != lwc_string_length(token->idata)) { -- cgit v1.2.3