summaryrefslogtreecommitdiff
path: root/test/csdetect.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/csdetect.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/csdetect.c')
-rw-r--r--test/csdetect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/csdetect.c b/test/csdetect.c
index aa72ce2..efd764d 100644
--- a/test/csdetect.c
+++ b/test/csdetect.c
@@ -34,7 +34,7 @@ int main(int argc, char **argv)
return 1;
}
- ctx.buflen = parse_filesize(argv[1]);
+ ctx.buflen = css__parse_filesize(argv[1]);
if (ctx.buflen == 0)
return 1;
@@ -51,7 +51,7 @@ int main(int argc, char **argv)
ctx.indata = false;
ctx.inenc = false;
- assert(parse_testfile(argv[1], handle_line, &ctx) == true);
+ assert(css__parse_testfile(argv[1], handle_line, &ctx) == true);
/* and run final test */
if (ctx.bufused > 0 && ctx.buf[ctx.bufused - 1] == '\n')