aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/xpath1.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/xpath1.c')
-rw-r--r--doc/examples/xpath1.c4
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);