From ac42344d05ec326f0063133498ec1c040e924db2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 5 Dec 2010 23:52:56 +0000 Subject: Remove bootstrap infrastructure, and just make dom_implementation a stub. We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex svn path=/trunk/dom/; revision=11017 --- test/testutils/domtsasserts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/testutils') diff --git a/test/testutils/domtsasserts.c b/test/testutils/domtsasserts.c index bd0eab1..488f294 100644 --- a/test/testutils/domtsasserts.c +++ b/test/testutils/domtsasserts.c @@ -14,8 +14,6 @@ #include "domts.h" -extern dom_implementation *doc_impl; - void __assert2(const char *expr, const char *function, const char *file, int line) { @@ -237,7 +235,7 @@ bool has_feature(char *feature, char *version) return false; } - err = dom_implementation_has_feature(doc_impl, df, dv, &ret); + err = dom_implementation_has_feature(df, dv, &ret); /* Here, when we come with exception, we should return false, * TODO: this need to be improved, but I can't figure out how */ if (err != DOM_NO_ERR) { -- cgit v1.2.3