summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorKinglong Mee <mijinlong@open-fs.com>2017-04-28 05:46:50 -0400
committerAtin Mukherjee <amukherj@redhat.com>2017-05-08 17:35:35 +0000
commit18e07cf01f975c80152e5469fb4e4274f08dc636 (patch)
treed50eb5d74dcb010fd37bb36b523792d41fa14a83 /cli/src/cli.h
parent0d8923d6d70af702730a43a536a5d0b25b4061dc (diff)
cli: fix build error with --disable-xml-output
./configure --disable-xml-output --disable-georeplication make Making all in src CC cli.o In file included from cli.c:42:0: cli.h:440:24: error: unknown type name ‘xmlTextWriterPtr’ cli_xml_output_common (xmlTextWriterPtr writer, int op_ret, int op_errno, ^ cli.h:443:26: error: unknown type name ‘xmlTextWriterPtr’ cli_xml_snapshot_delete (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict, ^ cli.h:443:51: error: unknown type name ‘xmlDocPtr’ cli_xml_snapshot_delete (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict, ^ make[1]: *** [cli.o] Error 1 make: *** [all-recursive] Error 1 Change-Id: I36c2dfc11f89d774b62dfe6f50b156826bed5b66 Signed-off-by: Kinglong Mee <mijinlong@open-fs.com> Reviewed-on: https://review.gluster.org/17136 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: Prashanth Pai <ppai@redhat.com> Tested-by: Prashanth Pai <ppai@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 332d3371055..60492c1b9fc 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -446,11 +446,8 @@ int
cli_xml_output_vol_status_tasks_detail (cli_local_t *local, dict_t *dict);
int
-cli_xml_output_common (xmlTextWriterPtr writer, int op_ret, int op_errno,
- char *op_errstr);
-int
-cli_xml_snapshot_delete (xmlTextWriterPtr writer, xmlDocPtr doc, dict_t *dict,
- gf_cli_rsp *rsp);
+cli_xml_snapshot_delete (cli_local_t *local, dict_t *dict, gf_cli_rsp *rsp);
+
int
cli_xml_snapshot_begin_composite_op (cli_local_t *local);