From 0181975689833b2269c032de83ba331b3b0326c1 Mon Sep 17 00:00:00 2001 From: Moshe Levi Date: Sat, 15 Aug 2015 10:59:41 +0300 Subject: [PATCH] Remove static keyword from vshReadline when readline does not exist This patch removes the static keyword from the vshReadline which was introduced in commit 834c5720e4434f0bcc807bb1cf20855af63e24a3. With readline the vshReadline function is not static but when compiling without readline it was defined as static which caused compilation error. --- tools/vsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vsh.c b/tools/vsh.c index 03ff859e4e..1a5b6e8efe 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -2655,7 +2655,7 @@ vshReadlineDeinit(vshControl *ctl ATTRIBUTE_UNUSED) /* empty */ } -static char * +char * vshReadline(vshControl *ctl, const char *prompt) { char line[1024];