mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +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 834c5720e4434f0bcc807bb1cf20855af63e24a3. 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…
x
Reference in New Issue
Block a user