From 6246bc660131473b277eeaac22f480a81156667d Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 16 Sep 2021 11:11:42 +0200 Subject: [PATCH] virshCheckpointNameCompleter: Sanitize forward declaration use Include the proper header instead of duplicating the declaration. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- 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);