mirror of https://gitee.com/openkylin/libvirt.git
Remove static keyword from vshReadline when readline does not exist
This patch removes the static keyword from the vshReadline which was
introduced in commit 834c5720e4
. With
readline the vshReadline function is not static but when compiling
without readline it was defined as static which caused compilation
error.
This commit is contained in:
parent
834c5720e4
commit
0181975689
|
@ -2655,7 +2655,7 @@ vshReadlineDeinit(vshControl *ctl ATTRIBUTE_UNUSED)
|
|||
/* empty */
|
||||
}
|
||||
|
||||
static char *
|
||||
char *
|
||||
vshReadline(vshControl *ctl, const char *prompt)
|
||||
{
|
||||
char line[1024];
|
||||
|
|
Loading…
Reference in New Issue