summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2003-08-07 13:03:02 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2003-08-07 13:03:02 +0000
commit5814e8cf8b16f02b8748ea73e96273839b88d496 (patch)
treed843fe49e858aa5397791f2e46f244a3c222648a
parentb36b9770afaf9dc5a96bc3e71ef70529b7d2743a (diff)
downloadlibxslt-5814e8cf8b16f02b8748ea73e96273839b88d496.tar.gz
libxslt-5814e8cf8b16f02b8748ea73e96273839b88d496.tar.bz2
libxslt-5814e8cf8b16f02b8748ea73e96273839b88d496.zip
removed ref to libxslt.la Minor cleanup of warning errors
* breakpoint/Makefile.am: removed ref to libxslt.la * numbers.c transform.c python/libxml_wrap.h python/types.c xlstproc/xsltproc.c: Minor cleanup of warning errors
-rw-r--r--ChangeLog6
-rw-r--r--breakpoint/Makefile.am2
-rw-r--r--libxslt/numbers.c7
-rw-r--r--libxslt/transform.c3
-rw-r--r--python/libxml_wrap.h4
-rw-r--r--python/types.c4
-rw-r--r--xsltproc/xsltproc.c4
7 files changed, 18 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index b9194ed9..f517f62b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Aug 7 21:02:07 HKT 2003 William Brack <wbrack@mmm.com.hk>
+
+ * breakpoint/Makefile.am: removed ref to libxslt.la
+ * numbers.c transform.c python/libxml_wrap.h python/types.c
+ xlstproc/xsltproc.c: Minor cleanup of warning errors
+
Mon Aug 4 22:43:05 CEST 2003 Daniel Veillard <daniel@veillard.com>
* doc/libxslt-api.xml doc/* doc/html/*: revuilt the API and docs
diff --git a/breakpoint/Makefile.am b/breakpoint/Makefile.am
index c6edf0db..f9442a2c 100644
--- a/breakpoint/Makefile.am
+++ b/breakpoint/Makefile.am
@@ -6,7 +6,7 @@ libxsltbreakpoint_la_SOURCES = \
deprecated.c
libxsltbreakpoint_la_LIBADD =
-libxsltbreakpoint_la_LDFLAGS = -version-info @LIBXSLTBREAK_VERSION_INFO@ $(top_builddir)/libxslt/libxslt.la
+libxsltbreakpoint_la_LDFLAGS = -version-info @LIBXSLTBREAK_VERSION_INFO@
clean:
rm -f *.lo
diff --git a/libxslt/numbers.c b/libxslt/numbers.c
index c9929980..3fe569d9 100644
--- a/libxslt/numbers.c
+++ b/libxslt/numbers.c
@@ -215,7 +215,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
break;
}
pointer -= len;
- strncpy(pointer, temp_char, len);
+ strncpy((char *)pointer, temp_char, len);
}
number /= 10.0;
++i;
@@ -1286,14 +1286,13 @@ OUTPUT_NUMBER:
number = floor((scale * number + 0.5)) / scale;
if ((self->grouping != NULL) &&
(self->grouping[0] != 0)) {
- int sep, len;
len = xmlStrlen(self->grouping);
- sep = xsltGetUTF8Char(self->grouping, &len);
+ pchar = xsltGetUTF8Char(self->grouping, &len);
xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0],
format_info.integer_digits,
format_info.group,
- sep, len);
+ pchar, len);
} else
xsltNumberFormatDecimal(buffer, floor(number), self->zeroDigit[0],
format_info.integer_digits,
diff --git a/libxslt/transform.c b/libxslt/transform.c
index 20f53ab7..3e3a7a62 100644
--- a/libxslt/transform.c
+++ b/libxslt/transform.c
@@ -2235,9 +2235,6 @@ xsltDocumentElem(xsltTransformContextPtr ctxt, xmlNodePtr node,
* *
************************************************************************/
-void xsltProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
- xsltStackElemPtr params);
-
/**
* xsltSort:
* @ctxt: a XSLT process context
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
index 0f2ad935..53777d98 100644
--- a/python/libxml_wrap.h
+++ b/python/libxml_wrap.h
@@ -78,5 +78,9 @@ PyObject * libxml_xmlParserCtxtPtrWrap(xmlParserCtxtPtr ctxt);
PyObject * libxml_xmlXPathParserContextPtrWrap(xmlXPathParserContextPtr ctxt);
PyObject * libxml_xmlXPathObjectPtrWrap(xmlXPathObjectPtr obj);
PyObject * libxml_xmlCatalogPtrWrap(xmlCatalogPtr obj);
+PyObject * libxml_xmlURIPtrWrap(xmlURIPtr uri);
+PyObject * libxml_xmlOutputBufferPtrWrap(xmlOutputBufferPtr buffer);
+PyObject * libxml_xmlParserInputBufferPtrWrap(xmlParserInputBufferPtr buffer);
+PyObject * libxml_xmlRegexpPtrWrap(xmlRegexpPtr regexp);
xmlXPathObjectPtr libxml_xmlXPathObjectPtrConvert(PyObject * obj);
diff --git a/python/types.c b/python/types.c
index 3f490284..276ae35b 100644
--- a/python/types.c
+++ b/python/types.c
@@ -1,4 +1,8 @@
/*
+xmlParserInputPtr xmlNoNetExternalEntityLoader(const char *URL,
+ const char *ID,
+ xmlParserCtxtPtr ctxt);
+
* types.c: converter functions between the internal representation
* and the Python objects
*
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 28a64797..7e4e777f 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -88,10 +88,6 @@
# endif
#endif
-xmlParserInputPtr xmlNoNetExternalEntityLoader(const char *URL,
- const char *ID,
- xmlParserCtxtPtr ctxt);
-
static int debug = 0;
static int repeat = 0;
static int timing = 0;