]> xenbits.xensource.com Git - libvirt.git/commitdiff
src: More cleanup of some system headers already contained in internal.h
authorErik Skultety <eskultet@redhat.com>
Tue, 18 Sep 2018 13:55:56 +0000 (15:55 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 20 Sep 2018 08:16:39 +0000 (10:16 +0200)
All of the ones being removed are pulled in by internal.h. The only
exception is sanlock which expects the application to include <stdint.h>
before sanlock's headers, because sanlock prototypes use fixed width
int, but they don't include stdint.h themselves, so we have to leave
that one in place.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Acked-by: Michal Privoznik <mprivozn@redhat.com>
214 files changed:
src/conf/capabilities.c
src/conf/network_conf.c
src/conf/node_device_conf.c
src/conf/storage_conf.c
src/cpu/cpu_ppc64.c
src/cpu/cpu_ppc64_data.h
src/cpu/cpu_x86.c
src/cpu/cpu_x86_data.h
src/esx/esx_storage_backend_iscsi.c
src/esx/esx_storage_backend_vmfs.c
src/esx/esx_vi_types.c
src/interface/interface_backend_udev.c
src/libvirt.c
src/libxl/libxl_logger.c
src/locking/lock_daemon.c
src/locking/lock_driver_sanlock.c
src/locking/lock_manager.c
src/locking/sanlock_helper.c
src/logging/log_daemon.c
src/lxc/lxc_container.c
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c
src/lxc/lxc_fuse.c
src/network/bridge_driver.c
src/network/leaseshelper.c
src/node_device/node_device_driver.c
src/node_device/node_device_hal.c
src/node_device/node_device_udev.h
src/nwfilter/nwfilter_ebiptables_driver.c
src/openvz/openvz_conf.c
src/openvz/openvz_driver.c
src/phyp/phyp_driver.c
src/qemu/qemu_agent.c
src/qemu/qemu_conf.c
src/qemu/qemu_driver.c
src/qemu/qemu_hostdev.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_text.c
src/qemu/qemu_security.h
src/remote/remote_daemon.c
src/rpc/virnetdaemon.c
src/rpc/virnetmessage.c
src/rpc/virnetservermdns.c
src/rpc/virnettlscontext.c
src/secret/secret_driver.c
src/security/security_apparmor.c
src/security/security_driver.c
src/security/virt-aa-helper.c
src/storage/parthelper.c
src/storage/storage_backend.c
src/storage/storage_backend_disk.c
src/storage/storage_backend_fs.c
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_logical.c
src/storage/storage_driver.c
src/storage/storage_file_fs.c
src/storage/storage_util.c
src/test/test_driver.c
src/uml/uml_conf.c
src/uml/uml_driver.c
src/util/iohelper.c
src/util/viralloc.c
src/util/virarptable.c
src/util/virauth.c
src/util/virbitmap.c
src/util/virbuffer.c
src/util/vircgroup.c
src/util/vircommand.c
src/util/virconf.c
src/util/virdnsmasq.c
src/util/virerror.c
src/util/virevent.c
src/util/vireventpoll.c
src/util/virfile.c
src/util/virhash.c
src/util/virhash.h
src/util/virhook.c
src/util/virhostcpu.c
src/util/virhostdev.c
src/util/virhostmem.c
src/util/viriptables.c
src/util/virkeycode.c
src/util/virlog.c
src/util/virmacaddr.c
src/util/virnetdevmacvlan.c
src/util/virnetdevtap.c
src/util/virnetdevvportprofile.c
src/util/virnetlink.c
src/util/virpci.c
src/util/virprocess.c
src/util/virrandom.c
src/util/virscsi.c
src/util/virsexpr.c
src/util/virstoragefile.c
src/util/virstoragefilebackend.c
src/util/virstring.c
src/util/virsysinfo.c
src/util/virusb.c
src/util/virutil.c
src/util/viruuid.c
src/util/virxml.c
src/vbox/vbox_XPCOMCGlue.c
src/vmware/vmware_conf.c
src/vz/vz_driver.c
src/xenapi/xenapi_driver.c
src/xenapi/xenapi_utils.c
tests/commandhelper.c
tests/commandtest.c
tests/cputest.c
tests/domaincapsmock.c
tests/domaincapstest.c
tests/domainsnapshotxml2xmltest.c
tests/esxutilstest.c
tests/eventtest.c
tests/fdstreamtest.c
tests/genericxml2xmltest.c
tests/interfacexml2xmltest.c
tests/libxlxml2domconfigtest.c
tests/lxcxml2xmltest.c
tests/networkxml2conftest.c
tests/networkxml2xmltest.c
tests/networkxml2xmlupdatetest.c
tests/nodedevxml2xmltest.c
tests/nsstest.c
tests/nwfilterxml2xmltest.c
tests/openvzutilstest.c
tests/qemuargv2xmltest.c
tests/qemublocktest.c
tests/qemucpumock.c
tests/qemumemlocktest.c
tests/qemumonitortestutils.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/seclabeltest.c
tests/secretxml2xmltest.c
tests/securityselinuxhelper.c
tests/securityselinuxlabeltest.c
tests/securityselinuxtest.c
tests/sexpr2xmltest.c
tests/shunloadhelper.c
tests/shunloadtest.c
tests/sockettest.c
tests/storagebackendsheepdogtest.c
tests/storagepoolxml2xmltest.c
tests/storagevolxml2xmltest.c
tests/sysinfotest.c
tests/testutils.c
tests/testutilslxc.c
tests/testutilsqemu.c
tests/testutilsxen.c
tests/utiltest.c
tests/vboxsnapshotxmltest.c
tests/virauthconfigtest.c
tests/virbuftest.c
tests/vircaps2xmltest.c
tests/vircapstest.c
tests/vircgroupmock.c
tests/vircgrouptest.c
tests/virconftest.c
tests/virdbustest.c
tests/virfiletest.c
tests/virfilewrapper.c
tests/virhashtest.c
tests/virhostcputest.c
tests/virhostdevtest.c
tests/viridentitytest.c
tests/virjsontest.c
tests/virkeycodetest.c
tests/virkeyfiletest.c
tests/virkmodtest.c
tests/virlockspacetest.c
tests/virmock.h
tests/virnetdevmock.c
tests/virnetmessagetest.c
tests/virnetsockettest.c
tests/virnettlscontexttest.c
tests/virnettlshelpers.c
tests/virnettlssessiontest.c
tests/virnwfilterbindingxml2xmltest.c
tests/virpcimock.c
tests/virpcitest.c
tests/virpolkittest.c
tests/virportallocatormock.c
tests/virportallocatortest.c
tests/virresctrltest.c
tests/virschematest.c
tests/virscsitest.c
tests/virshtest.c
tests/virstoragetest.c
tests/virstorageutiltest.c
tests/virstringtest.c
tests/virsystemdtest.c
tests/virtimetest.c
tests/viruritest.c
tests/virusbmock.c
tests/virusbtest.c
tests/vmwarevertest.c
tests/vmx2xmltest.c
tests/vshtabletest.c
tests/xlconfigtest.c
tests/xmconfigtest.c
tests/xml2sexprtest.c
tests/xml2vmxtest.c
tools/virsh-console.c
tools/virsh.c
tools/virsh.h
tools/virt-admin.c
tools/virt-host-validate-common.c
tools/virt-host-validate.c
tools/virt-login-shell.c
tools/vsh-table.c
tools/vsh.c
tools/vsh.h
tools/wireshark/src/packet-libvirt.c

index 67cd97b374033d8c60180b0cd9b70b39efd309da..0d11fbd8c536aa5f06e689c6ac5209783fbcc150 100644 (file)
 
 #include <config.h>
 
-#include <string.h>
 #include <strings.h>
-#include <stdlib.h>
-#include <stdint.h>
 #include <unistd.h>
 
 #include "capabilities.h"
index 5372aff82a57d50c2b0993a1359602243dd76092..39a13b433dbbf91ccb080036df754fdeb3adc905 100644 (file)
@@ -28,7 +28,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <string.h>
 
 #include "virerror.h"
 #include "datatypes.h"
index fd8f4e4a94bd86a30eb00836eb6c6529e85e5197..03bd794dc028a0a7b428beaed73a394ac6f2dc63 100644 (file)
@@ -25,7 +25,6 @@
 #include <config.h>
 
 #include <unistd.h>
-#include <errno.h>
 
 #include "virerror.h"
 #include "datatypes.h"
index eebbb46102d0263cdca329c2d1a5dbbb679a0bf1..bf3ca2b87b16872e228e44990e7547f1b9991672 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
-#include <string.h>
 
 #include "virerror.h"
 #include "datatypes.h"
index fcba7e9b372a4b5a0eb90e2fa3892f37b61aa1b2..858f40e0f0c8d0785e339d4f2f80cdd55f0f84de 100644 (file)
@@ -25,7 +25,6 @@
  */
 
 #include <config.h>
-#include <stdint.h>
 
 #include "virlog.h"
 #include "viralloc.h"
index 6c069ebe6183ad70cdaf42f68bed6ee3ce07fb30..ddbffaef0566558148b572af3c8a06bba8241612 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef __VIR_CPU_PPC64_DATA_H__
 # define __VIR_CPU_PPC64_DATA_H__
 
-# include <stdint.h>
 
 typedef struct _virCPUppc64PVR virCPUppc64PVR;
 struct _virCPUppc64PVR {
index 477085069325ee0bb504ad1458f4c6e98b13dfb2..69a0c8db2802251ab35d18dfed8112dd74629b5b 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <stdint.h>
 
 #include "virlog.h"
 #include "viralloc.h"
index 090a21156f0819553bea3aa6d2df2a53c0c7210b..e75b3a2d0d3a74a5474b2d05cb984493ad23d5cb 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef __VIR_CPU_X86_DATA_H__
 # define __VIR_CPU_X86_DATA_H__
 
-# include <stdint.h>
 
 typedef struct _virCPUx86CPUID virCPUx86CPUID;
 struct _virCPUx86CPUID {
index 0897c9cb257cd4bbbed5c5004c859a1e001e65ff..49edf70284b20a59f52a742b8a76d30aa4a313bd 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index 58ee753403cfbd229032e0d2b632c04b59b390dc..8458d4e95c8e1cdbe9ca9f13deb88bb5a84f276c 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index a21a32973a5167dd4685f4a3ef649a9e32806758..c77e759de2f743b84c9841c9a44aa648cb985ecd 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <stdint.h>
 #include <libxml/parser.h>
 #include <libxml/xpathInternals.h>
 
index 4b975ae4b47011d269ad8b04ddb538dfdc5ca1b7..13733562462af03a8215c1e7af38b31512195572 100644 (file)
@@ -20,7 +20,6 @@
  */
 #include <config.h>
 
-#include <errno.h>
 #include <dirent.h>
 #include <libudev.h>
 
index 48856b2803c3a7cfd37d954b458d43b6231808b3..0a738aefb1373fe9d0891ad79375213e8d84be33 100644 (file)
@@ -23,8 +23,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
index 40404826fc3b1ebff7b53a4bfd3b66b25a35ecfb..9e6e504445584a68240a344c4899d6c85b980619 100644 (file)
@@ -22,7 +22,6 @@
  */
 #include <config.h>
 
-#include <string.h>
 #include <libxl.h>
 
 #include "internal.h"
index 1438345c6de588514e5c38fd578ca2844af1041b..5bd7c4600a007e7e08bc0a6dd2b773e7320b0626 100644 (file)
@@ -27,7 +27,6 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <getopt.h>
-#include <stdlib.h>
 
 
 #include "lock_daemon.h"
index daa11728a7ff4156219dd4b3b6bbec97f92639a8..3ad0dc9bedcdc048f43cd461b288d53c7cb53cde 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <stdint.h>
 #include <unistd.h>
-#include <string.h>
-#include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index 84d0c30d370b629bc9334c14b562b976dc0bd858..9067f5a01af28ede55a9c436eb23285e55f0fe15 100644 (file)
@@ -33,7 +33,6 @@
 #if HAVE_DLFCN_H
 # include <dlfcn.h>
 #endif
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "configmake.h"
index 267c108964e1d98fa50116d994ce352493e27ba0..d589576f04ee227a0b6a07054d59c579a8ce1a99 100644 (file)
@@ -1,5 +1,4 @@
 #include <config.h>
-#include <stdlib.h>
 
 #include "internal.h"
 #include "virconf.h"
index 4415a61d0364cf9b26fbec1ff19defb5e37a4898..edf93ad7129721274b4ac5a1b6bf1c2d2f880052 100644 (file)
@@ -27,7 +27,6 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <getopt.h>
-#include <stdlib.h>
 
 
 #include "log_daemon.h"
index f949785f7dd24016b7dc7fdc03e236a0189ce403..918194dacd55abace2802c4022855de787ece5d3 100644 (file)
@@ -27,8 +27,6 @@
 #include <config.h>
 
 #include <fcntl.h>
-#include <limits.h>
-#include <stdlib.h>
 #include <sys/ioctl.h>
 #include <sys/mount.h>
 #include <sys/wait.h>
index 78556a3d08c291b857f5cb43fcb8e29a091ab276..d81c8e946dba87db8c57f1e61a1427d7e469c921 100644 (file)
@@ -38,7 +38,6 @@
 #include <sys/un.h>
 #include <sys/personality.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <signal.h>
 #include <getopt.h>
index 099184524867b73df9b4bba4bf904225cd137798..d95ed63c1878178f1e3c041a4a53e114d2f90b5b 100644 (file)
@@ -27,7 +27,6 @@
 #include <fcntl.h>
 #include <sched.h>
 #include <sys/utsname.h>
-#include <string.h>
 
 #ifdef MAJOR_IN_MKDEV
 # include <sys/mkdev.h>
index 5a5091659edd29df0bdea0283378c4299c77ee7c..9b889c4b27f735c04a24bf9904d1f14ca8a7398c 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <config.h>
 #include <fcntl.h>
-#include <errno.h>
-#include <string.h>
 #include <sys/mount.h>
 #include <mntent.h>
 
index 4d0c9b13d135c984fe7abea242a003496191bbdb..4bbc4f5a6d494dec8249c7bd0d4dbc1baefcf9bd 100644 (file)
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <limits.h>
-#include <string.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/utsname.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index ad7e0903f0133404701d757af2b0f2911d0a8941..40b89ac93951a881673b99a9caf3146cb0a7bbf2 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "virthread.h"
 #include "virfile.h"
index d04a31747a7179637457245c9ddd56db2eb31e08..c46d0fbe124492ac0d5e674af14e4469e04826d8 100644 (file)
@@ -25,7 +25,6 @@
 #include <config.h>
 
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <time.h>
 
index f36888a525a2b122302179d269fcd1ca6ce04252..298c08ccb6a58679791e8f39403f38afafb45609 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <libhal.h>
 
 #include "node_device_conf.h"
index f15e5204c36402890c6c0f55f33596a9821878d8..adbdaf27a89f1100edf4cf1a083279e84a30c4e0 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 #include <libudev.h>
-#include <stdint.h>
 
 #define SYSFS_DATA_SIZE 4096
 #define DMI_DEVPATH "/sys/devices/virtual/dmi/id"
index c1feabe4944cc835935c991ae152d3b90fa3f759..5be1c9b07a723549e0f0feac671231f0dbac06b8 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/utsname.h>
index 9c90433a41853be0635974db95a9282b47967d25..75d094fcfa99c30db42bf3b0ce64b7c8e6048f88 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>
 #include <dirent.h>
 #include <time.h>
 #include <sys/stat.h>
-#include <limits.h>
-#include <errno.h>
-#include <string.h>
 #include <sys/wait.h>
 
 #include "virerror.h"
index 86e00c422bbe3f9b3b66d54b6c3b21fb5a68cc99..0dbd7be0e699a4a2af8558b0de68629c4f4dd7e5 100644 (file)
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <limits.h>
-#include <string.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <pwd.h>
index 821a9f2f05a820c78f432030e69e76d3e36d543b..05bf6df7cbe817daef41c9d8e1c149385a51cdff 100644 (file)
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <limits.h>
-#include <string.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <libssh2.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
index 313362ac0fc17a6afd08855ff1139885ab8b2e0c..97ad0e7bcba95957c23687d324b667bfe109bccc 100644 (file)
@@ -29,7 +29,6 @@
 #include <poll.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <string.h>
 #include <sys/time.h>
 
 #include "qemu_agent.h"
index 8c5f9021f9d619213add5d2a2a11957fbf738613..33508174cb0dfd287cdd367e6556072a838409b9 100644 (file)
 
 #include <config.h>
 
-#include <string.h>
-#include <limits.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <sys/wait.h>
 #include <arpa/inet.h>
index 95445c65d05efa30f9d24acb062b9d61a2fe297e..10d6bca18628ff3d72ffc4e1bc5208e77ab58eae 100644 (file)
 #include <sys/poll.h>
 #include <sys/time.h>
 #include <dirent.h>
-#include <limits.h>
-#include <string.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <signal.h>
index 1e040f98b79f656707c96b71a666534ad3b202b2..bba141c9ee778625affcff4dce201f1a5093635e 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <fcntl.h>
 #include <sys/ioctl.h>
-#include <errno.h>
 
 #include "qemu_hostdev.h"
 #include "virlog.h"
index 38c30d1b15d7be78aeab11a9a1d973e89977182d..3de298c9e25cfa45b9084c63ae63d90d87c4c38a 100644 (file)
@@ -28,7 +28,6 @@
 #include <sys/un.h>
 #include <poll.h>
 #include <unistd.h>
-#include <string.h>
 #include <sys/time.h>
 
 #include "qemu_monitor_text.h"
index 90a58cd86bb9d76e545090b7c55565bad1467bc5..f98c7d1421ca9d96404905e54561a9786fbc4677 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <string.h>
 
 #include "qemu_monitor_text.h"
 #include "viralloc.h"
index ba12eb3caf2f6b78ee5009d9c4055969c7417226..13fc05152caba6251867e10ad900c6ae2e147cb5 100644 (file)
@@ -24,7 +24,6 @@
 #ifndef __QEMU_SECURITY_H__
 # define __QEMU_SECURITY_H__
 
-# include <stdbool.h>
 
 # include "qemu_conf.h"
 # include "domain_conf.h"
index 9f3a5f38ad8625569bafe568a044fad0d6b947f7..c14a56161856581bee23dc8ef65b951e526774e9 100644 (file)
@@ -28,7 +28,6 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <getopt.h>
-#include <stdlib.h>
 #include <grp.h>
 
 #include "libvirt_internal.h"
index 31b687de12097d01850a8293ef2162ebe8c3a4fb..08ce9c2cd2b5cfcba0d5b53fd46cc3f1032d21e6 100644 (file)
@@ -23,7 +23,6 @@
 #include <config.h>
 
 #include <unistd.h>
-#include <string.h>
 #include <fcntl.h>
 
 #include "virnetdaemon.h"
index 94c4c89e4f0b876f8505e7953c46e9bc1d4d6724..bb6ef9a9ae192942757bd00f6b736a40a5b0e920 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "virnetmessage.h"
index 692675162fea98deb8b1833f27c22e27b24ada17..e0a9aefc06a46d0a7adec53e7feacd2c91df939e 100644 (file)
@@ -26,7 +26,6 @@
 #include <config.h>
 
 #include <time.h>
-#include <stdlib.h>
 
 #if WITH_AVAHI
 # include <avahi-client/client.h>
index 97b74de89ea8bc0cdcefd9803f2d9b3b533df132..7bc6540641de9bcb3527528baa651727ba6df42d 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <unistd.h>
 #include <fnmatch.h>
-#include <stdlib.h>
 
 #include <gnutls/gnutls.h>
 #include <gnutls/crypto.h>
index 3c3557947e41ae6dbeaaac1ca85a1ae8dd3e6e5b..110117c35984c0ee0a24ae64f6a7aea0fbeaed36 100644 (file)
@@ -23,7 +23,6 @@
 #include <config.h>
 
 #include <fcntl.h>
-#include <string.h>
 #include <sys/stat.h>
 #include <unistd.h>
 
index 802ca0f14de75136c645b1562a9df8c14df5ae85..4ddf2a160bfd77e8249c64acdf81245a72ac9341 100644 (file)
@@ -31,7 +31,6 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/apparmor.h>
-#include <errno.h>
 #include <unistd.h>
 #include <wait.h>
 
index a845dc799597a50b2a074e6213baa7763cc8677f..ac2e2544b6c9bbc50d45a54afeae6d95ab0bd139 100644 (file)
@@ -21,7 +21,6 @@
  *
  */
 #include <config.h>
-#include <string.h>
 
 #include "virerror.h"
 #include "virlog.h"
index addfb4a48bc5c6c3092b4f238fc4ae9a0a5eeeaf..03cc15c9d324703bb448f7add870dcd223c51ead 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <stdarg.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/types.h>
 #include <fcntl.h>
 #include <getopt.h>
index 9025c7e04a2234e36826970f28c9f291432e2d8a..cf05e63111971953ce5c0e14395ca971d247029d 100644 (file)
@@ -33,7 +33,6 @@
 #include <config.h>
 
 #include <parted/parted.h>
-#include <string.h>
 #include <libdevmapper.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index e7fbc37eb1041b9b2804894d8a85c6cd81c57110..a8877548e6fc55b72b2443d58bec4aac81c92bf1 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <sys/stat.h>
 
 #include "datatypes.h"
index a11dc96d4615f7618e4d45492fb279554a3b8b56..10df0713220ccfa1aa337d79b70d10522e91d81d 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 #include <config.h>
-#include <string.h>
 #include <unistd.h>
 
 #include "dirname.h"
index beaf2542954012ebedf65855ce34cc744ec9e974..083744339188d9de2acb42f7f0d39b0d9cc28421 100644 (file)
@@ -25,9 +25,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <errno.h>
 #include <fcntl.h>
-#include <string.h>
 
 #include "virerror.h"
 #include "storage_backend_fs.h"
index 55fe47f5e107200e59ac9980b60fe3a17f93e649..fc21fbc5a2910a45f2030dffbdb827d9c9733608 100644 (file)
@@ -25,7 +25,6 @@
 
 #include <dirent.h>
 #include <sys/wait.h>
-#include <string.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/stat.h>
index 355eeec4cca105f7adf8476f02429ac9e9143d3e..cad88756cb4b35d25be837b634aea7a51c77fec7 100644 (file)
@@ -26,7 +26,6 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <regex.h>
-#include <string.h>
 #include <unistd.h>
 #include <fcntl.h>
 
index 8f5f9f61dcc1b6a7f85a2315a4974b29053a09d5..e0023cf0353abe208994089b3c519a181b941786 100644 (file)
@@ -32,8 +32,6 @@
 #if HAVE_PWD_H
 # include <pwd.h>
 #endif
-#include <errno.h>
-#include <string.h>
 
 #include "virerror.h"
 #include "datatypes.h"
index 750bdb90904f6da18f2f6fead5d9fe2ae511f3e8..7e6a682c0fb70d007db01ef1bf2de1a3bbd9dea4 100644 (file)
@@ -25,7 +25,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <string.h>
 
 #include "virerror.h"
 #include "storage_file_fs.h"
index b896a0b7239e142d6f0262cf92de496f57d42d00..318a55665627d0a1cfd36b08ede7e297955db0a0 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <regex.h>
 #include <sys/types.h>
 #include <sys/wait.h>
index 2156a3e1cf2d8b0cc23a0b08dcd582a9817f78d8..31d0da744ce50ef2d7a247fe9294ee4b42c0b717 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <sys/time.h>
 #include <fcntl.h>
 #include <unistd.h>
index f116e619efa9d7731d335d5794a066d87afeb247..52087bcf7c68a84763e2b660ee9c29500a3c70fb 100644 (file)
 
 #include <config.h>
 
-#include <string.h>
-#include <limits.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <sys/wait.h>
 #include <arpa/inet.h>
index 23491bc69d5a7085422ea32a2f596b4545c2a3b8..fcd468243e596da8e17e22379cd58d5bb2301e3f 100644 (file)
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <limits.h>
-#include <string.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/utsname.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index 11948e158e0db345017153e9ef389a3ffaa1d423..056f7bb3fc4927df2037a72f3492e299c612fd33 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <unistd.h>
 #include <fcntl.h>
-#include <stdlib.h>
 
 #include "virutil.h"
 #include "virthread.h"
index 81f99d9e1ff4c5604d4782e72391eaa189caf5d9..1646b25fe8eebcab40d39ca0bfcbf1d721dbf4c9 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #include "viralloc.h"
 #include "virlog.h"
index 0426c0b15f646dc29ee8ee06f13763a2803f1d7e..3861409811bd86d46a13d5f074865bfba1feb5ea 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <arpa/inet.h>
 #ifdef __linux__
 # include <linux/rtnetlink.h>
index 5f1515e1130a4e0a2513b5c2b88fc764ea29be32..9c95332e76226ea5a6684230f283747c1450c24b 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "virauth.h"
 #include "virutil.h"
index 73f0b59cee7498eb63faba5d68dc43ae240683d8..21c484e1f341717e4f3720341881b445c23e04ef 100644 (file)
 
 #include <config.h>
 
-#include <limits.h>
-#include <stdint.h>
-#include <string.h>
-#include <stdlib.h>
 #include <sys/types.h>
 
 #include "virbitmap.h"
index 3f400f44dbf88e3b6872f507a22558b2842bec55..8a2108f2f2a259f09acc6c8d15ee20e7fdfc7c6a 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <stdarg.h>
 #include "c-ctype.h"
 
index 4e541ce3005ecf5cb9cb9faa63f155825d155543..c825f7c77e2e262c9bee28c0ebf4e7ac99e55d20 100644 (file)
@@ -29,9 +29,6 @@
 # include <sys/mount.h>
 #endif
 #include <fcntl.h>
-#include <string.h>
-#include <errno.h>
-#include <stdlib.h>
 #include <sys/stat.h>
 
 #ifdef MAJOR_IN_MKDEV
index 9a9927566c302a6326aa3858c16753be15be9afd..de937f6f9aa91abb518eac98bfac9dcf37e1f5df 100644 (file)
@@ -25,7 +25,6 @@
 #include <regex.h>
 #include <signal.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <fcntl.h>
index 5981e0ae98d2503ce669e68eee800c1c1bb0d1ce..d38d3f725a21bc28ce1c288c233683b85f1e140d 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index 2df732a15b42ed6a46facd51df0586f50c362b4c..1a1d8eaea62a91dc8070cfeddfe67ffc8c6f006f 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <stdarg.h>
-#include <string.h>
-#include <errno.h>
-#include <limits.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>
index 8bb0382812cfae7994a2adff8da13144c63555fd..c11cba39abaca779b5f2db023a7db59ff8dd6877 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <stdarg.h>
 
 #include "virerror.h"
index 87069e35b9ade600af6f0ad243756bfb8709387b..feb67564863f686688e58b6b7886711a93be2c83 100644 (file)
@@ -28,7 +28,6 @@
 #include "virlog.h"
 #include "virerror.h"
 
-#include <stdlib.h>
 
 VIR_LOG_INIT("util.event");
 
index 2fe58c7c12d302fb6811f867de7d2b857741fbe6..ad1c3cf25c6e0189616942a74398e20214ac3e4d 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <poll.h>
 #include <sys/time.h>
-#include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
 
index af45a51b7f00e90acc5eb667928d49e131e4ae11..7fa0c90f76ecc7097fea5c66ed65aedb7325d11f 100644 (file)
@@ -41,7 +41,6 @@
 #if defined HAVE_MNTENT_H && defined HAVE_GETMNTENT_R
 # include <mntent.h>
 #endif
-#include <stdlib.h>
 #if HAVE_MMAP
 # include <sys/mman.h>
 #endif
index 006ffd8d7fe91398e34f419f1aaa8c8dcf807d34..c20724169cd0763ec1d765bfaf9892631b491efe 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <config.h>
 
-#include <string.h>
-#include <stdlib.h>
 
 #include "virerror.h"
 #include "virhash.h"
index dd789c6e519397d0e91b0cde996475b2b412118b..8137b4d27bfedfe05c90bc58f1017c098a812cc0 100644 (file)
@@ -13,8 +13,6 @@
 #ifndef __VIR_HASH_H__
 # define __VIR_HASH_H__
 
-# include <stdint.h>
-# include <stdbool.h>
 
 # include "viralloc.h"
 
index e5ac4040e5492504ea693f968bb31ea9cb863188..db4cd7953fac89590a1d83679d4cf58d6d695cfb 100644 (file)
@@ -27,7 +27,6 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <stdlib.h>
 
 #include "virerror.h"
 #include "virhook.h"
index 2906777928eaa81ae4bc75c68febed0fdb17c3c9..0fce47d970462e3937b05836194c7a9fe2fe9399 100644 (file)
 
 #include <config.h>
 
-#include <string.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <errno.h>
 #include <dirent.h>
 #include <sys/utsname.h>
 #include <fcntl.h>
index beb491428dcaa1665da81b4300b1c4354f675062..da7ae99c3475d2fab4810756aa71c4cbeaefdcb3 100644 (file)
@@ -29,7 +29,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <stdlib.h>
 
 #include "virhostdev.h"
 #include "viralloc.h"
index f64cba28e4719073b030b389ba24a645994d8a96..3edc037bb0d74198487d58f0b54d278c589d86be 100644 (file)
 
 #include <config.h>
 
-#include <string.h>
-#include <stdlib.h>
-#include <stdint.h>
-#include <errno.h>
 #include <sys/utsname.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
index 2366525f181070d52468b03f7c4c394cbda4a816..5dbea8cf57f08b481880499d6b77bab7ceeeaa78 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <stdarg.h>
-#include <string.h>
-#include <errno.h>
-#include <limits.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>
index 8976bbf3762383c159940cd998bcb106d7958494..b148e317e4b6cb995f528ffdad89d1f9a5360f2e 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <config.h>
 #include "virkeycode.h"
-#include <string.h>
 #include <stddef.h>
 
 #include "virkeycodetable_atset1.h"
index f8d24d845a5fbe972c32a4b9ae6c158825757d6a..e2702da7f86abc69e777ae9e4596fd6b99b23842 100644 (file)
@@ -22,7 +22,6 @@
 #include <config.h>
 
 #include <stdarg.h>
-#include <stdlib.h>
 #include <time.h>
 #include <sys/time.h>
 #include <sys/types.h>
index 237e43f9165569b054e096b8e6fadbdd9083cd30..db4fa86612b86c43cc508f255a5a0c2c641db3ae 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "c-ctype.h"
 #include "virmacaddr.h"
index ddb4c3ad0793021a27af1f4ca068f963b7cb0e11..d87191ac1f1c5272910cf5cfa11b498930568ac1 100644 (file)
@@ -42,8 +42,6 @@ VIR_ENUM_IMPL(virNetDevMacVLanMode, VIR_NETDEV_MACVLAN_MODE_LAST,
               "passthrough")
 
 #if WITH_MACVTAP
-# include <stdint.h>
-# include <errno.h>
 # include <fcntl.h>
 # include <sys/socket.h>
 # include <sys/ioctl.h>
index 8a9e2df43ac6f423d639405e40b7e26d4c028920..c4d843e8ff0d736e44d5b4651841837e101d56e4 100644 (file)
@@ -35,8 +35,6 @@
 #include "virstring.h"
 #include "datatypes.h"
 
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
 #include <regex.h>
 #include <sys/types.h>
index 14b79da893e586066979f06ebb4e6e3d26e0cc99..0543332427c6640abeec508bfc76bf5d97a72450 100644 (file)
@@ -48,8 +48,6 @@ VIR_ENUM_IMPL(virNetDevVPortProfileOp, VIR_NETDEV_VPORT_PROFILE_OP_LAST,
 
 #if WITH_VIRTUALPORT
 
-# include <stdint.h>
-# include <errno.h>
 # include <fcntl.h>
 # include <c-ctype.h>
 # include <sys/socket.h>
index e473ccbe86e2ade051c3ddae21f0bb950cdf72ca..f2bcc1eeceaa133088de79c4afcdac741894e256 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <config.h>
 
-#include <errno.h>
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
index 7676bcf0d343e24bff2033b85f0e46dd23f12c8c..28a93de98d3785ae458126795cc825f783aad13b 100644 (file)
 #include <dirent.h>
 #include <fcntl.h>
 #include <inttypes.h>
-#include <limits.h>
-#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <stdlib.h>
 
 #include "dirname.h"
 #include "virlog.h"
index 3988f5546cb53d5b8ec316a98a281e73685746c3..8ad12c29baae9be75e25402261b04d61df7597cc 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <fcntl.h>
 #include <signal.h>
-#include <errno.h>
-#include <stdlib.h>
 #include <sys/wait.h>
 #include <unistd.h>
 #if HAVE_SYS_MOUNT_H
index 7915f6531e2965b0f3de752e970083007bab5ead..1f616f73d561349680483e440c86b8fec1558776 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <inttypes.h>
 #include <math.h>
 #include <strings.h>
index 1e661f651e8cf92a7cb1a43b0c6cdfce558af5d6..e731e59cfe62fb86d1c7bfae352c27e63bd0a4f4 100644 (file)
@@ -28,8 +28,6 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include <inttypes.h>
-#include <limits.h>
-#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
index 175510950588e782a9ffc5bf81dea66178e3208d..bfac747f63e3cb8cf9dcac59957d81672bbf00da 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include "c-ctype.h"
-#include <errno.h>
 
 #include "virerror.h"
 #include "virsexpr.h"
index 927223eca897182b3e8266823763f69b08161129..b878718b1144148f0062eda77db3f81e82dcabe2 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <unistd.h>
 #include <fcntl.h>
-#include <stdlib.h>
 #include "viralloc.h"
 #include "virxml.h"
 #include "viruuid.h"
index eb3055ed67e4c644060ea9f330e5b28083d2b023..7086747029645afa6943ef43c1a2e089ee0d19ba 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <sys/stat.h>
 
 #include "datatypes.h"
index e407ed845bf81513ac42e15a7b732825e8157112..270e747acf8a917a32c28dba4f67964e79231173 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <regex.h>
 #include <locale.h>
 
index a3337bfbf653681f330eb7add5287051eda59316..4b8160355f6ccb8de6b56bd06e849fb088797bd9 100644 (file)
@@ -27,7 +27,6 @@
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#include <stdlib.h>
 
 #include "virerror.h"
 #include "virsysinfo.h"
index 3e5e2db5b47558b28609766cf09773825812d478..45f635baaf43512be99544d653c713928f4afb5f 100644 (file)
@@ -26,8 +26,6 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include <inttypes.h>
-#include <limits.h>
-#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
index 1c74a4b78d4a4090a79f4365ea41c79b183f93d2..35f22be111c27857727faedd0bb5691403e59d42 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <errno.h>
 #include <poll.h>
 #include <sys/stat.h>
 
@@ -40,7 +38,6 @@
 #endif
 
 #include <sys/types.h>
-#include <string.h>
 #include <termios.h>
 
 #if WITH_DEVMAPPER
index 187c533d4d4cc9a76ed0d6c28658594bf8e9940e..ff44e8efb7adf2d5ab0c8ffab609331bed123404 100644 (file)
 
 #include "viruuid.h"
 
-#include <errno.h>
 #include <fcntl.h>
-#include <stdlib.h>
-#include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <time.h>
index b383c3d3e9e607b935ca46d000a771808b26bcee..dd932fadab2dd00bebeaa50969c15f29216b86b5 100644 (file)
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <stdarg.h>
-#include <limits.h>
 #include <math.h>               /* for isnan() */
 #include <sys/stat.h>
 
index cae6d0c626e846f84f644546d2469978002daaec..2a054f02d65cc3daf6f28ef3dd9cfc144e5bcca0 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <dlfcn.h>
 
 #include "vbox_XPCOMCGlue.h"
index e1d6956df0be13d5b9f8776193ba9ea1e9386f7f..89ed6394da9cd810701da8346df0a87a9bd6ce62 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <string.h>
 
 #include "vircommand.h"
 #include "cpu/cpu.h"
index 95411bda8f427e083a46d55b4505830196ad3723..bedc6316db8de3032bf7cacca6c42f8899fc588c 100644 (file)
 
 #include <sys/types.h>
 #include <sys/poll.h>
-#include <limits.h>
-#include <string.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <pwd.h>
index f7519cbaa76376078b4f02eba01aeb055e314e5e..556382577c8bdb3c034de0a12af43ce63f90d94b 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <config.h>
 
-#include <limits.h>
-#include <string.h>
 #include <curl/curl.h>
 #include <xen/api/xen_all.h>
 #include "internal.h"
index 5796bca8931b2e6fc0976bb385a96f62aba7756d..723f348b64816089a04245e1659941e1f89fe1c1 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <xen/api/xen_all.h>
 #include "internal.h"
 #include "domain_conf.h"
index 7b53a8e1990b8a6a718a75764eff18e4dca6577a..32ebeeaef26e704a60369c3803eac49d3bde7b73 100644 (file)
@@ -21,9 +21,7 @@
 #include <config.h>
 
 #include <unistd.h>
-#include <stdlib.h>
 #include <fcntl.h>
-#include <string.h>
 #include <sys/stat.h>
 
 #include "internal.h"
index 4c23b797875ea604f6c65d7963a01170a24f67a2..8aa1fdc84efed0572a42208aa7c219c447aea5a9 100644 (file)
@@ -20,8 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
 #include <signal.h>
 #include <sys/stat.h>
index e5d3403600c007448b4a816db403ac75d59499a0..339119c63fb34a2b7da1094cfa3a6b2cfbf79019 100644 (file)
@@ -22,9 +22,7 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 838bc6f3cbcd563b6ea9faebd5168d9c7fe654d4..d8cf61685ed0024749787b52df87016e1fcf09a5 100644 (file)
@@ -15,7 +15,6 @@
  */
 
 #include <config.h>
-#include <limits.h>
 
 #include "virhostcpu.h"
 
index 3b94cad223395f60040a2dc53f94a2de07e998de..85431e397ab88321fa345cedb90e4e7185770b21 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "domain_capabilities.h"
index 9ec48823899b4c1e329cc23317d18cb358c72c2e..2a07fe0789f1d823e1f181fa071c33015d2798f4 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 68cfe63d77f3e7648cff05f897c7a86038474b89..872987a7d7c2e35a36da11ff3647631ce1cc0356 100644 (file)
@@ -4,7 +4,6 @@
 
 #ifdef WITH_ESX
 
-# include <string.h>
 # include <unistd.h>
 
 # include "internal.h"
index 0c1ec719f43ec6a2aea1008c2f8bc49a116af047..e3ad1e878478c85e19ea19ebc782422516e0a81f 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 #include <time.h>
 
index 68a5bc354dd392c92f0e8d028e562a780ae0008e..3c4fcdefaffcb7f4ca615a3c6354c06412491f71 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <fcntl.h>
 
 #include "testutils.h"
index bcc2e9d62ef6d6e683308139bbde2055218caaa9..fa941f00912129a94dd403e85c02d9ecc96287ba 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index d71bc76ed144e40607a0cfc6e63efe8f43db5738..1fc61e3853131315ca043e2ad40aa75df0879c85 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 68fa48c586ce32b1796e8564f5f36e31a815bf87..0eba5814b1e7d212d059e5fc9ea15ab24a5943c7 100644 (file)
@@ -23,9 +23,7 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 9fed462dc98d75b30210f9a2ccc64263edab6531..e871700d1df0c79d2e1994d8e073eb4c93790d05 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index ab0bedd56f3a83faa8a434fd871c4d71f8a20463..367e30b994455a32a8c71edae4ab518f37cfeebb 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index cce7e2159c7190b1d22d98dfbe33e569804ce07a..4e4c7d20a67b17c1b4a69bc3fe034e70740a3f5c 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index e7c728acaabd804e2fad20ed5e471f9ba4fdd5b3..46cb4c2f0bc6605bbccac80ad6b15c88ddfcfeef 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index d6fb9902fb364185d255e67193cdce004ab3bb08..9248a60fbf54bb1a126cb2384f3f3659a6d65b75 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 720ffc487b36de9fdb297acacdfe670e68344e06..fe0a16c3c424f831b388daf6be50480bc5ce5c05 100644 (file)
@@ -24,7 +24,6 @@
 
 #ifdef NSS
 
-# include <stdbool.h>
 # include <arpa/inet.h>
 # include "libvirt_nss.h"
 # include "virsocketaddr.h"
index c213b850c7a4c4706fbf2b29348db6eb3f18e768..5fc9d19d4763db8bff6bcfa2394f9c7486c08aba 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 54e729de8b3fdb69021c93fee76ec89d48291602..283ba03b21826e5e4ad59263a85c3830b6872d6e 100644 (file)
@@ -4,7 +4,6 @@
 
 #ifdef WITH_OPENVZ
 
-# include <string.h>
 # include <unistd.h>
 
 # include "internal.h"
index 8a30b8c640b1c9abf1696bb24845a108195db3a3..29c80a0471d8669d06a41e5468a220b95def1b39 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 8e8773e6a882c3a3da32e424044d7412fa1fcc2d..6d85718d9296ebec8959526a707d0a4229692e5e 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "testutils.h"
 
index 74dcfa62916695a694a8c28bb599a16486bd4c47..7752e3157cb9e9759e685457e2cd1aaa5b4df1a8 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "conf/cpu_conf.h"
 #include "cpu/cpu.h"
index d7747c43531133e615b3abef26990602eb6f9a50..786f647cf0e40c5bab6ee966357cecb708850a59 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 3fe6a8ba8c2f3f4e0fae419a9f8df2e9ebdcfa48..9cee0082fab2de4803fad91ad8d80aea100f168d 100644 (file)
@@ -19,8 +19,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <time.h>
 
 #include "testutils.h"
index d6a8e4791bc0aa0627fef44ea59f9c352ba2a25a..c1ea24b8b014519137ce70aa7d4ab6193453085d 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 3b7c9284004420742293dcf3edb2ff6e525a963e..ada7744955cc18635f2c346760a91f1685400c94 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 5290e7e54f00cd94f8825d641329fa2a23840f0b..7cddf96e82640b9b870ec0362cba65590506906b 100644 (file)
@@ -1,9 +1,6 @@
 #include <config.h>
 
 #include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
 #include "security/security_driver.h"
 #include "virrandom.h"
 #include "testutils.h"
index 306f64c236f59c46d9c6da9ef671cd6d94368c8b..fd937034248a9cd263b994b3e3ac3fad2086bd7b 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "internal.h"
 #include "testutils.h"
index fe6f2b5fd9b07e654b2ac58903ecb727e32d768d..6391f67360b2199ad576b11681a320527ebae412 100644 (file)
@@ -23,7 +23,6 @@
  * detected. */
 
 #include "virmock.h"
-#include <errno.h>
 #if HAVE_LINUX_MAGIC_H
 # include <linux/magic.h>
 #endif
@@ -31,7 +30,6 @@
 #if HAVE_SELINUX_LABEL_H
 # include <selinux/label.h>
 #endif
-#include <string.h>
 #include <sys/vfs.h>
 #include <unistd.h>
 #include <sys/xattr.h>
index b69a33eee3f08f3265e8b794b7d579e07076fc5b..aa9fae7d32163b69d6a4b1a3d4d78385b495f599 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <time.h>
 
 #include <selinux/selinux.h>
index 1df6129046bce6a81cb4b66fa35fe0a2ec24421a..f1ea51b1ac58e89b37c17b95725e3a34d72d6c0b 100644 (file)
@@ -20,8 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <time.h>
 
 #include <selinux/selinux.h>
index 39ac6c5e8e463ff07a657bf08e6cd59ef8fd8f38..b2fc4d42febcae5a8c7d9b3f41a34a40e184c51f 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index 128adcec1d214a42e17070d72ebc66601f3d9097..952cade7412dfd4a1ff8f20ed50cdca54e329701 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "internal.h"
 
index 1636e27a111411d774091245cba8bbddd71a1065..c5561175b914f69afcd01554f6a53159dc28c87c 100644 (file)
@@ -47,7 +47,6 @@
 
 # include <dlfcn.h>
 # include <pthread.h>
-# include <stdbool.h>
 # include <unistd.h>
 # include <signal.h>
 
index 21a28ae9fb1121a71103c12de1cfaac8f81957e2..0c6c79f2a9f75e3ea9eda15e45cbd8cf0787d3c4 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 
 #include "virsocketaddr.h"
 #include "testutils.h"
index 00d7ae483a3972e22b2e0b22865fdd42aa164639..1d640961302394c1e5fee930bd50fc429fdaa35b 100644 (file)
@@ -23,9 +23,7 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <fcntl.h>
 
index 583c910db68fc44e5c8921ce8316b0cc02ba8abd..8230dc8ddca8c5eb8374b47da83e49ead5b4c485 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 5c46e4cf6839e9f220624d36f29a33385b04ef7f..040bbc7585a4a749189972ffaed1eaae76f821a9 100644 (file)
@@ -1,8 +1,6 @@
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index e8e7502eda79692df492ed03800804c2a4d781b4..2c1c450a7851130c897667b17d897848405af7be 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index ecaa000a2d3cf8beaad787335c2052d1174dca44..4fe95bda8b0a45c5f2d61d2f811a9b7758349bbd 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <stdarg.h>
 #include <sys/time.h>
 #include <sys/types.h>
@@ -30,9 +29,7 @@
 #include <sys/wait.h>
 #include <regex.h>
 #include <unistd.h>
-#include <string.h>
 #include <fcntl.h>
-#include <limits.h>
 #include "testutils.h"
 #include "internal.h"
 #include "viralloc.h"
index e4489f33d229d54e2cbc7e080c819f91706765f3..eed18304c4a4b5668902da39801df3753ac4d0ab 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 #ifdef WITH_LXC
-# include <stdlib.h>
 
 # include "testutilslxc.h"
 # include "testutils.h"
index c50d05a3125e5b96a6984e5d379e8be18851bdb5..332885eb77dc413e1d67271ea271f45fd3561b03 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 #ifdef WITH_QEMU
-# include <stdlib.h>
 
 # include "testutilsqemu.h"
 # include "testutilshostcpus.h"
index c08ec4a6ec230ea45264be9a3b6f13e13ece67d6..d34be72296d4bf9a5396a8c48b6ce2023132610f 100644 (file)
@@ -1,7 +1,6 @@
 #include <config.h>
 
 #include <sys/utsname.h>
-#include <stdlib.h>
 
 #include "testutilsxen.h"
 #include "testutilshostcpus.h"
index 602b5dd3d33100390bcbb3ffbf9c3bcc797d8296..5e4920e3ca6078bfc15ff2d13614a3525e472499 100644 (file)
@@ -1,7 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index 0f28711a0419d244d0b9f7970436083104b08028..c70d7ab10016d02a3dcb03746b1ba2a94e86e268 100644 (file)
@@ -4,7 +4,6 @@
 
 #ifdef WITH_VBOX
 
-# include <stdlib.h>
 # include <regex.h>
 # include "vbox/vbox_snapshot_conf.h"
 
index 1209aa0e30fa8b3da4c6a19a8942f5f1dec8afff..8cfd68dff3a282030f2e9f7ede8e72309b3afa4b 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 
 #include "testutils.h"
index f5aaed32a30e94f1296ae935f014016c8b9076b9..5bffe94c95a5ceab7429bcfe62f8b3aa5f343e39 100644 (file)
@@ -1,7 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 
 #include "internal.h"
 #include "testutils.h"
index 1fb8861d8a18e7ba2ecef5644ac88fe9a14716fe..0a72bb77ebdb1222fedc2b56b7367182e7d5dadd 100644 (file)
@@ -20,7 +20,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "capabilities.h"
index 0df453f4037a9b7ba3dc077cbf5e9419b2b9d932..7fc0ebe4f6a4cf96167c0eefc374b8d8949a6ae5 100644 (file)
@@ -18,7 +18,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "testutilslxc.h"
index d8b7d7ec7ceb0a81168f788d6283daa62a22031a..d512417789486f5becd94874ec7d5229f834e655 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef __linux__
 # include "virmock.h"
-# include <stdlib.h>
 # include <unistd.h>
 # include <fcntl.h>
 # include <sys/stat.h>
index be50f3e73c9957a7426791e107b9b36a2b2db1d3..6ab67dca78a26bccada0b2b7968fe7bf6bd16c1b 100644 (file)
@@ -24,7 +24,6 @@
 
 #ifdef __linux__
 
-# include <stdlib.h>
 
 # define __VIR_CGROUP_ALLOW_INCLUDE_PRIV_H__
 # include "vircgrouppriv.h"
index d5581fe66ba5a6fb32a8a8402825594bc070cdad..cc2b26687c1ef0856a225b481de200294dccfdab 100644 (file)
@@ -22,9 +22,6 @@
 #include <config.h>
 
 #include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
 #include "virconf.h"
 #include "viralloc.h"
 #include "testutils.h"
index af58cfaf4b34daa007219c438d142ef744f14042..c900d17b7992d71a909283e4fdf04f31908ddc1a 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "virdbuspriv.h"
 #include "virlog.h"
index a15495e9e8cdf1f09030ec1d179e2492e70338f4..efe15485eb74805577d216b7968bc6d3a8eb47d7 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <fcntl.h>
 
 #include "testutils.h"
index bd2708e3e19ff1de70e6ba3349a3f7fc05880227..f7a7a931e139fd6ae29fc3bb74a969e54f86a279 100644 (file)
@@ -20,7 +20,6 @@
 
 #ifndef WIN32
 
-# include <stdlib.h>
 # include <fcntl.h>
 
 # include "viralloc.h"
index aee534181fff0bbf89013faad701034c041bdc86..4e6b6f3fefdf01d8aadff24ae603974f7e9c7d8e 100644 (file)
@@ -1,7 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <time.h>
 
 #include "internal.h"
index ea92f4a0e8b1a5f214b4f7c4dd0c2d2d1588a98b..8cbc302caeaf9d6dcb5e35c39200cdf3b5bf82e2 100644 (file)
@@ -1,7 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <unistd.h>
 
 #include "testutils.h"
index 557aa75d967eaf812b3afad06d8f6691e8f445c8..bc73362a6bf71de9f7a3f8cb19a2ccc892a3fae5 100644 (file)
@@ -25,7 +25,6 @@
 
 #ifdef __linux__
 
-# include <stdlib.h>
 # include <sys/types.h>
 # include <sys/stat.h>
 # include <sys/ioctl.h>
index dfa29478e01f15c1975be96305395cc78ced27f0..e3905121475be6560928f21d8e9c0edbeca39a46 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #if WITH_SELINUX
 # include <selinux/selinux.h>
index 97136a0561a83c0f230ccd74c68b6c78a321d721..a4bd4fb07b6871cfb47f13c6ee1dd460833b38b1 100644 (file)
@@ -1,7 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <time.h>
 
 #include "internal.h"
index 399a13fcae3139f444cc6c833a65df4b428887f5..8d541dcba3408ce9d8b93007b0640fbfa976b216 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "testutils.h"
 
index aec692468f42e962ecc9128aee19c49646bbae9e..196c022b1ca8368e14f4a7a85d68ce36f27c79d8 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 
 #include "testutils.h"
index b153e071d7e1f32462f4a7f9c7308a9e240ef07a..879ed54036fb6d47816b6d82b344e0c14917d179 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef __linux__
 
-# include <stdlib.h>
 # define __VIR_COMMAND_PRIV_H_ALLOW__
 # include "vircommandpriv.h"
 # include "virkmod.h"
index 2409809353bcb7eedf84c6f363af5a42022445ab..3c621e7eb01e3ebcf1674929e10173c64f35ad1e 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 #include <sys/stat.h>
 
index 4bf7dc8e09bf75ff20cbea43f0b20769824b3155..aaefb802e0b6f08f16deb3b10767712c8f9dc872 100644 (file)
@@ -25,7 +25,6 @@
 # if HAVE_DLFCN_H
 #  include <dlfcn.h>
 # endif
-# include <stdlib.h>
 
 # include "internal.h"
 
index edbb392e8e4c6f9604effbe2ec6dccc98c3ad26f..b005f1644cc8b8b9bb25c193970d5a3a70a7c165 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef __linux__
 # include "internal.h"
-# include <stdlib.h>
 # include "virstring.h"
 # include "virnetdev.h"
 
index be7d019c310a50fac62e35288328012fea48ffaa..eb6fc4c407e6f5747656e4a7306ab2a6668e6c1a 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 
 #include "testutils.h"
index 7f52bf5c61e0b7cbe54363acda4b3a7552def8f1..e3266d9767b5296027f3600bb3508b4004df5c95 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 #ifdef HAVE_IFADDRS_H
 # include <ifaddrs.h>
index 86647f3014b02e2e67dd36ab13bc4c531393daf9..49b33e354afe17a10cb83c758c7c52f0814a6c3d 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <fcntl.h>
 #include <sys/socket.h>
 
index 8cb8c3ee2a398d1489ce08898c868583ba772a41..36c29cf9c02334710d579f417fd33940e38472ba 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <fcntl.h>
 #include <sys/socket.h>
 
index 375cc1bb0281ffa0758d77dc9a526d7696ed3710..fb2efd75941b79e72264d8bfc4f5f510f4176757 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <fcntl.h>
 #include <sys/socket.h>
 
index 072eb329fc850d88a2d96b65efe551a278a6a3c7..bba63e95647fe9a36269cab4e344357ee5e52f40 100644 (file)
@@ -21,9 +21,7 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <unistd.h>
-#include <string.h>
 
 #include <sys/types.h>
 #include <fcntl.h>
index 46a447f381c01fc157491104b1184cc299b47497..9eb5eb3a1e41fc75cba81d3d7f5b01c696e1ea4c 100644 (file)
@@ -22,7 +22,6 @@
 
 #if defined(__linux__) || defined(__FreeBSD__)
 # include "virmock.h"
-# include <stdlib.h>
 # include <unistd.h>
 # include <fcntl.h>
 # include <sys/stat.h>
index a58a51d950ee9889116e0ca8871baa094f14cccb..384ff055e010c7ea4da4839ccb1f58c838907455 100644 (file)
@@ -24,7 +24,6 @@
 
 #ifdef __linux__
 
-# include <stdlib.h>
 # include <sys/types.h>
 # include <sys/stat.h>
 # include <fcntl.h>
index fe7666bd35ba7be0d15e387aab74fb54b5d5c7a5..f7589dba0076bbf5647eab9cf2861256492fbcd7 100644 (file)
@@ -24,7 +24,6 @@
 
 #if defined(__ELF__)
 
-# include <stdlib.h>
 # include <dbus/dbus.h>
 
 # include "virpolkit.h"
index ddb891ac90efae82d180bf38e9340ca97ea0f12e..9de0335601224aab088f8cdc7a83897061821e64 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #if HAVE_DLFCN_H
 # include <dlfcn.h>
@@ -28,7 +27,6 @@
 #if defined(__linux__) && defined(RTLD_NEXT)
 # include "internal.h"
 # include <sys/socket.h>
-# include <errno.h>
 # include <arpa/inet.h>
 # include <netinet/in.h>
 # include <unistd.h>
index 5e30b415e044883f1228857e8307bb351b8b3931..29da9a7c01a4911a2ac5f2707dd0a21a9a12150a 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 #include "virfile.h"
 #include "testutils.h"
 
index 99e20d5dec99d4c6bf1d12efc5af4f309497f808..d2a290035ffd2f50a8dcb2aeaa8b76ee7d638403 100644 (file)
@@ -1,5 +1,4 @@
 #include <config.h>
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "virfilewrapper.h"
index 3614fb1c68496b0b07df5a7736f630f8960a89bd..7dda14e33602e4ed609729b0ec20c9ab1a768879 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "testutils.h"
 
index 1215adbfaba87cb76b2a395ce8e49e3bd6f03a26..eff488641bc19075c1c08963d58cfa761ad58b98 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "virscsi.h"
 #include "testutils.h"
index 7b9b6779b5a565bd016b3ae2197209e71ed3ed49..250efb7734669253cb34316174496a1a47504899 100644 (file)
@@ -1,6 +1,5 @@
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index 68d0307d5ca40f7e58a768e5682ecef24f42c74d..83680a63a06ee7de19dec0baff04c218d8fa1986 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "vircommand.h"
index b76ee202a8665381e02b9e828f528bf3f72656e0..d91c5d4d6f5f64207cf358fa0a3fe9214b2fcc81 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "virerror.h"
index 1a1e6364d17b851fce349e5560a6c7ab16430198..d1a593cb9aa0e8b91210871474c9f5b2cf6f6022 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 
 #include "testutils.h"
 #include "verify.h"
index 5b6ef12a703eb9bed77cd467771c84ffa5b3c33c..7d15c0f37d8afe2a04c2ca8ac0469a45d4b32ebc 100644 (file)
@@ -24,7 +24,6 @@
 
 #if defined(WITH_DBUS) && defined(__linux__)
 
-# include <stdlib.h>
 # include <dbus/dbus.h>
 
 # define __VIR_SYSTEMD_PRIV_H_ALLOW__ 1
index d4f6d8e15d3e8a7080d222d786b50110d433558f..79a1e153daa7776d01602354e820e964135cd262 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 
 #include "testutils.h"
index 838f0509807a6a3995d615a93c853cf8130ae6c6..8ccfba71b3e62bd5bd5aa6348f9e34f49aa7c1e2 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <signal.h>
 
 #include "testutils.h"
index 12083e23620614aa6cc61840bcbcd5de55b55b60..fbab6e48be8a2bbe51faf30921e9528c13345c54 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
index 05bba2b9bafdcc39364dc7c28e4fb729df596dc8..d1f3e9c239f78bb909a49d51f3a2cd0eec259c5b 100644 (file)
@@ -19,7 +19,6 @@
  */
 
 #include <config.h>
-#include <stdlib.h>
 
 #include "viralloc.h"
 #include "virerror.h"
index 8e75b214e0117422a030e3dd6fd76e4fd2d43be2..c19c6cc3021f5274a8d660036b266e7e1ee0ef1f 100644 (file)
@@ -22,7 +22,6 @@
 
 #ifdef WITH_VMWARE
 
-# include <stdlib.h>
 
 # include "vmware/vmware_conf.h"
 
index e6ad822f3f5729fbe7325b5737a0e3f846bb89e1..b70e8191d117eb3975a97b79feef1e1c0fc75c81 100644 (file)
@@ -4,7 +4,6 @@
 
 #ifdef WITH_VMX
 
-# include <string.h>
 # include <unistd.h>
 
 # include "internal.h"
index 06da9ae6fb06e0b33e9c4f0308cf3b17fbbae4c4..ff394f65cab8813be835a22009a6898d5db30b3e 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #include <locale.h>
 #include <wctype.h>
 
index 3f2773a79109c2dadc006b445377652051fcffb0..b2e4591c3bc43cc7200c3e2123f801c0c8b444a7 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index 76c01f8e82df77e8ed14b806e2b18d80ea92163e..35cef16629ac9130805689a0e6c267d0a3025b6e 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <config.h>
 
-#include <string.h>
 #include <unistd.h>
 
 #include "internal.h"
index 93d05f87cb2f75d1bc64cfa18245b0807cf68a74..de68ea1f055b27d5ad4af2b1bf29478624f99201 100644 (file)
@@ -1,7 +1,5 @@
 #include <config.h>
 
-#include <stdlib.h>
-#include <string.h>
 #include <sys/types.h>
 #include <fcntl.h>
 #include <unistd.h>
index 87ca6d43cab01e0250f5455e6672a3674503c41f..0143c05b19ab9d5b9f1776a91144239f07b906e8 100644 (file)
@@ -4,7 +4,6 @@
 
 #ifdef WITH_VMX
 
-# include <string.h>
 # include <unistd.h>
 
 # include "internal.h"
index e767c8e42d1108a80ebf1bb04b7658d87d6d6606..05e3ebd04a0268b33c2fa773aa118dd9733fb93f 100644 (file)
@@ -30,8 +30,6 @@
 # include <fcntl.h>
 # include <termios.h>
 # include <poll.h>
-# include <string.h>
-# include <errno.h>
 # include <unistd.h>
 # include <signal.h>
 # include <c-ctype.h>
index ed1554f185e026256250d6dfe397b3461b0f8988..eb4f9caa7f80287127a99c1f2c0139d0f5e233eb 100644 (file)
 #include <config.h>
 #include "virsh.h"
 
-#include <stdlib.h>
-#include <string.h>
 #include <stdarg.h>
 #include <unistd.h>
-#include <errno.h>
 #include <getopt.h>
 #include <sys/time.h>
 #include <fcntl.h>
 #include <time.h>
-#include <limits.h>
 #include <sys/stat.h>
 #include <inttypes.h>
 #include <signal.h>
index 5399cd143e69fd3ad775607e6c53a02681ef61b9..af0d6ce68623334faae41b6f66bc74d05be8d034 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef VIRSH_H
 # define VIRSH_H
 
-# include <stdlib.h>
-# include <string.h>
 # include <stdarg.h>
 # include <unistd.h>
 # include <sys/stat.h>
index 63822bc13e14ef9e965adc1b86ddbe7a4f36e595..3bd3259201036f99da5dd2ab7186829681ceceec 100644 (file)
@@ -23,7 +23,6 @@
 #include <config.h>
 #include "virt-admin.h"
 
-#include <errno.h>
 #include <getopt.h>
 
 #if WITH_READLINE
index b12a32b052cd6ea6388a7ac00240ad11b51b1a9b..ccbd764c84f2eb74d1122bd53372930ba416aa79 100644 (file)
@@ -22,7 +22,6 @@
 #include <config.h>
 
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
 #include <sys/utsname.h>
 #ifdef HAVE_MNTENT_H
index 1c0ec8c92e53e4a837f85005c720f93f71c7563c..e797e63475d7021f7e25b0f73da2bf3c8f1d177d 100644 (file)
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include <stdlib.h>
 #ifdef HAVE_LIBINTL_H
 # include <libintl.h>
 #endif /* HAVE_LIBINTL_H */
index 77b04ec484c6d038e3583574649eab631bb0c9b9..d0b1e1e3685b63ba46780f0a21382dc4d2b8f442 100644 (file)
  */
 #include <config.h>
 
-#include <errno.h>
 #include <fnmatch.h>
 #include <getopt.h>
 #include <signal.h>
 #include <stdarg.h>
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "internal.h"
index d441a30f093357de99516db07249f214f9c25d0d..9b4a34c1e6f26819bca934bcb751302b21232e32 100644 (file)
@@ -25,7 +25,6 @@
 #include <config.h>
 #include "vsh-table.h"
 
-#include <string.h>
 #include <stdarg.h>
 #include <stddef.h>
 #include <wchar.h>
index ddd8ff1f187ae4385f0c3a0675ac31d3441a8318..9ea3c4b96ae7dca8cc2bb841a159255b4ce62ad8 100644 (file)
 #include "vsh.h"
 
 #include <assert.h>
-#include <stdlib.h>
-#include <string.h>
 #include <stdarg.h>
 #include <unistd.h>
-#include <errno.h>
 #include <sys/time.h>
 #include "c-ctype.h"
 #include <fcntl.h>
 #include <time.h>
-#include <limits.h>
 #include <sys/stat.h>
 #include <inttypes.h>
 #include <signal.h>
index 9b690aea7756fd1e61358ccfdfec6c48bdd8cfb8..8b4f544a61aa5b1bb3b19aa64bdebb5c1dd9d213 100644 (file)
@@ -25,8 +25,6 @@
 #ifndef VSH_H
 # define VSH_H
 
-# include <stdlib.h>
-# include <string.h>
 # include <stdarg.h>
 # include <unistd.h>
 # include <sys/stat.h>
index 71f0f6114a6873180fed3bf7ff994a461210a95b..c037ad7e2620a90b1cc3c6add3ba5031d53da409 100644 (file)
@@ -22,7 +22,6 @@
  */
 #include <config.h>
 
-#include <stdlib.h>
 #include <wireshark/config.h>
 #include <wireshark/epan/proto.h>
 #include <wireshark/epan/packet.h>