summaryrefslogtreecommitdiff
path: root/test/csdetect.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-04 13:28:52 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-04 13:28:52 +0000
commit7af44e1552d41fc04ba5243e619a03c222c07c9f (patch)
tree181f09ca54164b31f8f67b9086041d25618dbc0e /test/csdetect.c
parent3541ce862727a967c92f7f08e3c7da16522f89ef (diff)
downloadlibcss-7af44e1552d41fc04ba5243e619a03c222c07c9f.tar.gz
libcss-7af44e1552d41fc04ba5243e619a03c222c07c9f.tar.bz2
Remove libcss_initialise/finalise.
Fix testsuite to compile (it passes, too) svn path=/trunk/libcss/; revision=10955
Diffstat (limited to 'test/csdetect.c')
-rw-r--r--test/csdetect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/csdetect.c b/test/csdetect.c
index c452b5b..8fe245d 100644
--- a/test/csdetect.c
+++ b/test/csdetect.c
@@ -4,6 +4,7 @@
#include <stdlib.h>
#include <string.h>
+#include <parserutils/parserutils.h>
#include <parserutils/charset/mibenum.h>
#include <libcss/libcss.h>
@@ -41,7 +42,7 @@ int main(int argc, char **argv)
return 1;
}
- assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK);
+ assert(parserutils_initialise(argv[1], myrealloc, NULL) == PARSERUTILS_OK);
ctx.buflen = parse_filesize(argv[2]);
if (ctx.buflen == 0)
@@ -70,7 +71,7 @@ int main(int argc, char **argv)
free(ctx.buf);
- assert(css_finalise(myrealloc, NULL) == CSS_OK);
+ assert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK);
printf("PASS\n");