diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/DOMTSHandler.pm | 1 | ||||
-rw-r--r-- | test/testutils/domtsasserts.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/test/DOMTSHandler.pm b/test/DOMTSHandler.pm index ce392c0..0bd4b81 100644 --- a/test/DOMTSHandler.pm +++ b/test/DOMTSHandler.pm @@ -362,7 +362,6 @@ sub generate_main { #include <dom/dom.h> #include <dom/functypes.h> -#include <dom/bootstrap/init_fini.h> #include <domts.h> 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) { |