[PATCH v2 1/2] vsh: Introduce wrapper for add_history()

Ján Tomko jtomko at redhat.com
Thu Sep 3 14:15:02 UTC 2020


On a Thursday in 2020, Michal Privoznik wrote:
>This allows us to drop include of readline header files from
>virsh.c and virt-admin.c because they needed it only because of
>the add_history() function.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> tools/virsh.c      | 10 ++--------
> tools/virt-admin.c | 10 ++--------
> tools/vsh.c        | 12 ++++++++++++
> tools/vsh.h        |  2 ++
> 4 files changed, 18 insertions(+), 16 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200903/ebaaf9c5/attachment-0001.sig>


More information about the libvir-list mailing list