Commit ff4c1852 authored by Daniel Veillard's avatar Daniel Veillard

second patch from Rick Jones, portability fix for HP-UX first fix from

* xmlmodule.c: second patch from Rick Jones, portability fix for
  HP-UX
* doc/examples/xpath1.c doc/examples/xpath2.c: first fix from Rick Jones
  to avoid warnings.
Daniel
parent c0c6ce29
Thu Mar 10 11:35:57 CET 2005 Daniel Veillard <daniel@veillard.com>
* xmlmodule.c: second patch from Rick Jones, portability fix for
HP-UX
* doc/examples/xpath1.c doc/examples/xpath2.c: first fix from Rick Jones
to avoid warnings.
Thu Mar 10 10:20:23 CET 2005 Daniel Veillard <daniel@veillard.com>
* include/libxml/hash.h libxml.h libxml.spec.in: some gcc4 portability
......
......@@ -21,7 +21,7 @@
#if defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_SAX1_ENABLED)
void usage(const char *name);
static void usage(const char *name);
int execute_xpath_expression(const char* filename, const xmlChar* xpathExpr, const xmlChar* nsList);
int register_namespaces(xmlXPathContextPtr xpathCtx, const xmlChar* nsList);
void print_xpath_nodes(xmlNodeSetPtr nodes, FILE* output);
......@@ -61,7 +61,7 @@ main(int argc, char **argv) {
*
* Prints usage information.
*/
void
static void
usage(const char *name) {
assert(name);
......
......@@ -63,7 +63,7 @@ main(int argc, char **argv) {
*
* Prints usage information.
*/
void
static void
usage(const char *name) {
assert(name);
......
......@@ -237,7 +237,7 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
return 0;
}
#endif /* HAVE_DLOPEN */
#else /* ! HAVE_DLOPEN */
#ifdef HAVE_SHLLOAD /* HAVE_SHLLOAD */
#ifdef HAVE_DL_H
......@@ -285,6 +285,7 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
}
#endif /* HAVE_SHLLOAD */
#endif /* ! HAVE_DLOPEN */
#ifdef _WIN32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment