Now it's not used outside of qemu_monitor_json.c. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/qemu/qemu_monitor_json.c | 2 +- src/qemu/qemu_monitor_json.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 527a658b08..0073c863c2 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -498,7 +498,7 @@ qemuMonitorJSONHasError(virJSONValuePtr reply, * * Returns 0 on success and -1 on error. */ -int +static int qemuMonitorJSONTransactionAdd(virJSONValuePtr actions, const char *cmdname, ...) diff --git a/src/qemu/qemu_monitor_json.h b/src/qemu/qemu_monitor_json.h index 39a84b3efd..38bed040c1 100644 --- a/src/qemu/qemu_monitor_json.h +++ b/src/qemu/qemu_monitor_json.h @@ -28,10 +28,6 @@ #include "cpu/cpu.h" #include "util/virgic.h" -int qemuMonitorJSONTransactionAdd(virJSONValuePtr actions, - const char *cmdname, - ...); - int qemuMonitorJSONIOProcessLine(qemuMonitorPtr mon, const char *line, qemuMonitorMessagePtr msg); -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list