diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-03-10 10:37:28 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-03-10 10:37:28 +0000 |
commit | ff4c1852e9066cf1014784560b04fca18f8fb624 (patch) | |
tree | 2f92a8a14e4e82a3864af2adf7582065ac315b7d /doc/examples/xpath1.c | |
parent | c0c6ce29187750f736ba26e7182bdc93fd617bcc (diff) | |
download | android_external_libxml2-ff4c1852e9066cf1014784560b04fca18f8fb624.tar.gz android_external_libxml2-ff4c1852e9066cf1014784560b04fca18f8fb624.tar.bz2 android_external_libxml2-ff4c1852e9066cf1014784560b04fca18f8fb624.zip |
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
Diffstat (limited to 'doc/examples/xpath1.c')
-rw-r--r-- | doc/examples/xpath1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/xpath1.c b/doc/examples/xpath1.c index be1dd2aa..f2f74062 100644 --- a/doc/examples/xpath1.c +++ b/doc/examples/xpath1.c @@ -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); |