[PATCH 1/8] tools: vsh: Unexport vshCmddefHelp

Peter Krempa pkrempa at redhat.com
Thu Nov 12 13:42:58 UTC 2020


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tools/vsh.c | 2 +-
 tools/vsh.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/vsh.c b/tools/vsh.c
index ca92bcd78c..e5ecc38f73 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -600,7 +600,7 @@ vshCmdGrpHelp(vshControl *ctl, const vshCmdGrp *grp)
     return true;
 }

-bool
+static bool
 vshCmddefHelp(vshControl *ctl, const vshCmdDef *def)
 {
     const char *desc = NULL;
diff --git a/tools/vsh.h b/tools/vsh.h
index 5583fef9cc..0c5584891d 100644
--- a/tools/vsh.h
+++ b/tools/vsh.h
@@ -248,7 +248,6 @@ void vshCloseLogFile(vshControl *ctl);

 const char *vshCmddefGetInfo(const vshCmdDef *cmd, const char *info);
 const vshCmdDef *vshCmddefSearch(const char *cmdname);
-bool vshCmddefHelp(vshControl *ctl, const vshCmdDef *def);
 const vshCmdGrp *vshCmdGrpSearch(const char *grpname);
 bool vshCmdGrpHelp(vshControl *ctl, const vshCmdGrp *grp);

-- 
2.28.0




More information about the libvir-list mailing list