提交 01819756 编写于 作者: M Moshe Levi 提交者: Martin Kletzander

Remove static keyword from vshReadline when readline does not exist

This patch removes the static keyword from the vshReadline which was
introduced in commit 834c5720. With
readline the vshReadline function is not static but when compiling
without readline it was defined as static which caused compilation
error.
上级 834c5720
...@@ -2655,7 +2655,7 @@ vshReadlineDeinit(vshControl *ctl ATTRIBUTE_UNUSED) ...@@ -2655,7 +2655,7 @@ vshReadlineDeinit(vshControl *ctl ATTRIBUTE_UNUSED)
/* empty */ /* empty */
} }
static char * char *
vshReadline(vshControl *ctl, const char *prompt) vshReadline(vshControl *ctl, const char *prompt)
{ {
char line[1024]; char line[1024];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册