[PATCH 01/14] virshCheckpointNameCompleter: Sanitize forward declaration use

Peter Krempa pkrempa at redhat.com
Thu Sep 16 17:10:32 UTC 2021


Include the proper header instead of duplicating the declaration.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tools/virsh-completer.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/virsh-completer.h b/tools/virsh-completer.h
index 7edb8e2f7e..874813335d 100644
--- a/tools/virsh-completer.h
+++ b/tools/virsh-completer.h
@@ -20,6 +20,7 @@

 #pragma once

+#include "virsh-completer-checkpoint.h"
 #include "virsh-completer-domain.h"
 #include "virsh-completer-host.h"
 #include "virsh-completer-interface.h"
@@ -33,7 +34,3 @@

 char ** virshCommaStringListComplete(const char *input,
                                      const char **options);
-
-char ** virshCheckpointNameCompleter(vshControl *ctl,
-                                     const vshCmd *cmd,
-                                     unsigned int flags);
-- 
2.31.1




More information about the libvir-list mailing list