summaryrefslogtreecommitdiff
path: root/libexslt
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-07-28 18:38:48 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-07-28 18:38:48 +0000
commit06599b30b737f3f479fc62acdd8ef4766d2df10d (patch)
treebfc483ba64f40251c772b18e1882540d7658fb47 /libexslt
parent36c8640ac5871f098602cf57f132df0c5f5724d4 (diff)
downloadlibxslt-06599b30b737f3f479fc62acdd8ef4766d2df10d.tar.gz
libxslt-06599b30b737f3f479fc62acdd8ef4766d2df10d.tar.bz2
libxslt-06599b30b737f3f479fc62acdd8ef4766d2df10d.zip
more cleanup of the problems introduced with EXSLT, also closes bug #58180
* libexslt/functions.c libxslt/extensions.[ch] libxslt/extensions.h libxslt/xslt.[hc] libxslt/xsltInternals.h xsltproc/xsltproc.c: more cleanup of the problems introduced with EXSLT, also closes bug #58180 Daniel
Diffstat (limited to 'libexslt')
-rw-r--r--libexslt/functions.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/libexslt/functions.c b/libexslt/functions.c
index 56c293d7..d4f31482 100644
--- a/libexslt/functions.c
+++ b/libexslt/functions.c
@@ -1,14 +1,18 @@
+#include "libxslt/libxslt.h"
+
#include <string.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/hash.h>
+#include <libxml/debugXML.h>
#include <libxslt/xsltutils.h>
#include <libxslt/variables.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/extensions.h>
+#include <libxslt/transform.h>
#include "exslt.h"
@@ -167,7 +171,6 @@ exsltFuncNewFunctionData (void) {
static void
exsltFuncFunctionFunction (xmlXPathParserContextPtr ctxt, int nargs) {
xmlXPathObjectPtr obj, oldResult, ret;
- xmlHashTablePtr funcs;
exsltFuncData *data;
exsltFuncFunctionData *func;
xmlNodePtr paramNode, oldInsert, fake;
@@ -340,8 +343,9 @@ exsltFuncFunctionComp (xsltStylesheetPtr style, xmlNodePtr inst) {
}
static void
-exsltFuncResultElem (xsltTransformContextPtr ctxt, xmlNodePtr node,
- xmlNodePtr inst, xsltStylePreCompPtr comp) {
+exsltFuncResultElem (xsltTransformContextPtr ctxt,
+ xmlNodePtr node ATTRIBUTE_UNUSED, xmlNodePtr inst,
+ xsltStylePreCompPtr comp ATTRIBUTE_UNUSED) {
xmlNodePtr test;
xmlChar *select;
exsltFuncData *data;