[libvirt PATCH v2 44/56] src: remove sys/wait.h from many files

Pavel Hrdina phrdina at redhat.com
Fri Jan 31 15:17:51 UTC 2020


On Tue, Jan 28, 2020 at 01:11:25PM +0000, Daniel P. Berrangé wrote:
> Most code now uses the virProcess / virCommand APIs, so
> the need for sys/wait.h is quite limited. Removing this
> include removes the dependency on GNULIB providing a
> dummy sys/wait.h for Windows.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/libvirt.c                         | 1 -
>  src/lxc/lxc_container.c               | 1 -
>  src/network/bridge_driver.c           | 1 -
>  src/openvz/openvz_conf.c              | 1 -
>  src/openvz/openvz_driver.c            | 1 -
>  src/qemu/qemu_capabilities.c          | 1 -
>  src/qemu/qemu_conf.c                  | 1 -
>  src/qemu/qemu_driver.c                | 1 -
>  src/remote/remote_daemon.c            | 1 -
>  src/rpc/virnetsocket.c                | 1 -
>  src/storage/storage_backend_iscsi.c   | 1 -
>  src/storage/storage_backend_logical.c | 1 -
>  src/storage/storage_util.c            | 1 -
>  src/util/virfdstream.c                | 1 -
>  src/util/virfile.c                    | 1 -
>  src/util/virhook.c                    | 1 -
>  src/util/viriptables.c                | 1 -
>  src/util/virnetdevveth.c              | 2 --
>  src/util/virsysinfo.c                 | 1 -
>  src/vz/vz_driver.c                    | 1 -
>  tests/commandtest.c                   | 4 +++-
>  tests/testutils.c                     | 1 -
>  22 files changed, 3 insertions(+), 23 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200131/46fa45cd/attachment-0001.sig>


More information about the libvir-list mailing list