summaryrefslogtreecommitdiff
path: root/test/parse.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 /test/parse.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 'test/parse.c')
-rw-r--r--test/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parse.c b/test/parse.c
index efb555e..255cd5b 100644
--- a/test/parse.c
+++ b/test/parse.c
@@ -112,7 +112,7 @@ int main(int argc, char **argv)
size_t read = fread(buf, 1, CHUNK_SIZE, fp);
assert(read == CHUNK_SIZE);
- error = css_parser_parse_chunk(parser, buf, CHUNK_SIZE);
+ error = css_parser_css__parse_chunk(parser, buf, CHUNK_SIZE);
assert(error == CSS_OK || error == CSS_NEEDDATA);
len -= CHUNK_SIZE;
@@ -122,7 +122,7 @@ int main(int argc, char **argv)
size_t read = fread(buf, 1, len, fp);
assert(read == len);
- error = css_parser_parse_chunk(parser, buf, len);
+ error = css_parser_css__parse_chunk(parser, buf, len);
assert(error == CSS_OK || error == CSS_NEEDDATA);
len = 0;