mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-12 21:05:48 +00:00
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 */
|
/* empty */
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
char *
|
||||||
vshReadline(vshControl *ctl, const char *prompt)
|
vshReadline(vshControl *ctl, const char *prompt)
|
||||||
{
|
{
|
||||||
char line[1024];
|
char line[1024];
|
||||||
|
Loading…
Reference in New Issue
Block a user