mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-11 05:24:44 -05: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:
committed by
Martin Kletzander
parent
834c5720e4
commit
0181975689
+1
-1
@@ -2655,7 +2655,7 @@ vshReadlineDeinit(vshControl *ctl ATTRIBUTE_UNUSED)
|
||||
/* empty */
|
||||
}
|
||||
|
||||
static char *
|
||||
char *
|
||||
vshReadline(vshControl *ctl, const char *prompt)
|
||||
{
|
||||
char line[1024];
|
||||
|
||||
Reference in New Issue
Block a user