From f2a602f5a3559717f72570671a8cf3b076db0085 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 12 Nov 2020 13:38:23 +0100 Subject: [PATCH] tools: vsh: Unexport vshCmddefHelp MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- 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.47.3