summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-08-22 13:11:39 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-08-22 13:11:39 +0000
commit6ebf3c4c1a78406d15e8629b4a7b3d52549f0c8b (patch)
treea59c9461c7cc0954e965315225b17aa3422ccfd9 /python
parent2f2a66324d18afa655d6aa659b2089c36e2c4a92 (diff)
downloadlibxml2-6ebf3c4c1a78406d15e8629b4a7b3d52549f0c8b.tar.gz
trying to remove some warning when compiling on Fedora Core 3 and 64bits
* xmllint.c xpath.c include/libxml/xpath.h include/libxml/xpathInternals.h python/libxml.c python/libxml_wrap.h: trying to remove some warning when compiling on Fedora Core 3 and 64bits Daniel
Diffstat (limited to 'python')
-rw-r--r--python/libxml.c4
-rw-r--r--python/libxml_wrap.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/python/libxml.c b/python/libxml.c
index 1c65e72c..07cb0695 100644
--- a/python/libxml.c
+++ b/python/libxml.c
@@ -3030,7 +3030,7 @@ libxml_xmlSchemaValidityWarningFunc(void *ctx, const char *msg, ...)
va_end(ap);
}
-static PyObject *
+PyObject *
libxml_xmlSchemaSetValidErrors(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
{
PyObject *py_retval;
@@ -3086,7 +3086,7 @@ libxml_xmlSchemaSetValidErrors(ATTRIBUTE_UNUSED PyObject * self, PyObject * args
return(py_retval);
}
-static PyObject *
+PyObject *
libxml_xmlSchemaFreeValidCtxt(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
{
xmlSchemaValidCtxtPtr ctxt;
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
index ad62be23..e8210753 100644
--- a/python/libxml_wrap.h
+++ b/python/libxml_wrap.h
@@ -233,3 +233,4 @@ PyObject * libxml_xmlSchemaParserCtxtPtrWrap(xmlSchemaParserCtxtPtr ctxt);
PyObject * libxml_xmlSchemaValidCtxtPtrWrap(xmlSchemaValidCtxtPtr valid);
#endif /* LIBXML_SCHEMAS_ENABLED */
PyObject * libxml_xmlErrorPtrWrap(xmlErrorPtr error);
+PyObject * libxml_xmlSchemaSetValidErrors(PyObject * self, PyObject * args);