]> xenbits.xensource.com Git - libvirt.git/commit
Enforce a standard header file guard symbol name
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 13 Dec 2018 14:53:50 +0000 (14:53 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 14 Dec 2018 10:47:13 +0000 (10:47 +0000)
commit568a417224e7b4656b9959b03154d45566480d65
tree66b75820f39f352933581634d3d16e55a3431b67
parent4cfd7090212cbe38572274a7fff2475f4f8e87b7
Enforce a standard header file guard symbol name

Require that all headers are guarded by a symbol named

  LIBVIRT_$FILENAME

where $FILENAME is the uppercased filename, with all characters
outside a-z changed into '_'.

Note we do not use a leading __ because that is technically a
namespace reserved for the toolchain.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
458 files changed:
build-aux/header-ifdef.pl
docs/apibuild.py
include/libvirt/libvirt-admin.h
include/libvirt/libvirt-domain-snapshot.h
include/libvirt/libvirt-domain.h
include/libvirt/libvirt-event.h
include/libvirt/libvirt-host.h
include/libvirt/libvirt-interface.h
include/libvirt/libvirt-lxc.h
include/libvirt/libvirt-network.h
include/libvirt/libvirt-nodedev.h
include/libvirt/libvirt-nwfilter.h
include/libvirt/libvirt-qemu.h
include/libvirt/libvirt-secret.h
include/libvirt/libvirt-storage.h
include/libvirt/libvirt-stream.h
include/libvirt/libvirt.h
include/libvirt/virterror.h
src/access/viraccessdriver.h
src/access/viraccessdrivernop.h
src/access/viraccessdriverpolkit.h
src/access/viraccessdriverstack.h
src/access/viraccessmanager.h
src/access/viraccessperm.h
src/admin/admin_server.h
src/admin/admin_server_dispatch.h
src/bhyve/bhyve_capabilities.h
src/bhyve/bhyve_command.h
src/bhyve/bhyve_conf.h
src/bhyve/bhyve_device.h
src/bhyve/bhyve_domain.h
src/bhyve/bhyve_driver.h
src/bhyve/bhyve_monitor.h
src/bhyve/bhyve_parse_command.h
src/bhyve/bhyve_process.h
src/bhyve/bhyve_utils.h
src/conf/capabilities.h
src/conf/cpu_conf.h
src/conf/device_conf.h
src/conf/domain_addr.h
src/conf/domain_audit.h
src/conf/domain_capabilities.h
src/conf/domain_conf.h
src/conf/domain_event.h
src/conf/domain_nwfilter.h
src/conf/interface_conf.h
src/conf/netdev_bandwidth_conf.h
src/conf/netdev_vlan_conf.h
src/conf/netdev_vport_profile_conf.h
src/conf/network_conf.h
src/conf/network_event.h
src/conf/networkcommon_conf.h
src/conf/node_device_conf.h
src/conf/node_device_event.h
src/conf/node_device_util.h
src/conf/numa_conf.h
src/conf/nwfilter_conf.h
src/conf/nwfilter_ipaddrmap.h
src/conf/nwfilter_params.h
src/conf/object_event.h
src/conf/object_event_private.h
src/conf/secret_conf.h
src/conf/secret_event.h
src/conf/snapshot_conf.h
src/conf/storage_adapter_conf.h
src/conf/storage_conf.h
src/conf/storage_event.h
src/conf/virchrdev.h
src/conf/virdomainobjlist.h
src/conf/virinterfaceobj.h
src/conf/virnetworkobj.h
src/conf/virnodedeviceobj.h
src/conf/virnwfilterbindingdef.h
src/conf/virnwfilterbindingobj.h
src/conf/virnwfilterbindingobjlist.h
src/conf/virnwfilterobj.h
src/conf/virsavecookie.h
src/conf/virsecretobj.h
src/conf/virstorageobj.h
src/cpu/cpu.h
src/cpu/cpu_arm.h
src/cpu/cpu_map.h
src/cpu/cpu_ppc64.h
src/cpu/cpu_ppc64_data.h
src/cpu/cpu_s390.h
src/cpu/cpu_x86.h
src/cpu/cpu_x86_data.h
src/datatypes.h
src/driver-hypervisor.h
src/driver-interface.h
src/driver-network.h
src/driver-nodedev.h
src/driver-nwfilter.h
src/driver-secret.h
src/driver-state.h
src/driver-storage.h
src/driver-stream.h
src/driver.h
src/esx/esx_driver.h
src/esx/esx_interface_driver.h
src/esx/esx_network_driver.h
src/esx/esx_private.h
src/esx/esx_storage_backend_iscsi.h
src/esx/esx_storage_backend_vmfs.h
src/esx/esx_storage_driver.h
src/esx/esx_stream.h
src/esx/esx_util.h
src/esx/esx_vi.h
src/esx/esx_vi_methods.h
src/esx/esx_vi_types.h
src/hyperv/hyperv_driver.h
src/hyperv/hyperv_private.h
src/hyperv/hyperv_util.h
src/hyperv/hyperv_wmi.h
src/hyperv/hyperv_wmi_classes.h
src/hyperv/openwsman.h
src/interface/interface_driver.h
src/internal.h
src/libvirt_internal.h
src/libxl/libxl_capabilities.h
src/libxl/libxl_conf.h
src/libxl/libxl_domain.h
src/libxl/libxl_driver.h
src/libxl/libxl_logger.h
src/libxl/libxl_migration.h
src/locking/domain_lock.h
src/locking/lock_daemon.h
src/locking/lock_daemon_config.h
src/locking/lock_daemon_dispatch.h
src/locking/lock_driver.h
src/locking/lock_driver_lockd.h
src/locking/lock_driver_nop.h
src/locking/lock_manager.h
src/logging/log_daemon.h
src/logging/log_daemon_config.h
src/logging/log_daemon_dispatch.h
src/logging/log_handler.h
src/logging/log_manager.h
src/lxc/lxc_cgroup.h
src/lxc/lxc_conf.h
src/lxc/lxc_container.h
src/lxc/lxc_domain.h
src/lxc/lxc_driver.h
src/lxc/lxc_fuse.h
src/lxc/lxc_hostdev.h
src/lxc/lxc_monitor.h
src/lxc/lxc_native.h
src/lxc/lxc_process.h
src/network/bridge_driver.h
src/network/bridge_driver_platform.h
src/node_device/node_device_driver.h
src/node_device/node_device_hal.h
src/node_device/node_device_udev.h
src/nwfilter/nwfilter_dhcpsnoop.h
src/nwfilter/nwfilter_driver.h
src/nwfilter/nwfilter_ebiptables_driver.h
src/nwfilter/nwfilter_gentech_driver.h
src/nwfilter/nwfilter_learnipaddr.h
src/nwfilter/nwfilter_tech_driver.h
src/openvz/openvz_conf.h
src/openvz/openvz_driver.h
src/openvz/openvz_util.h
src/phyp/phyp_driver.h
src/qemu/qemu_agent.h
src/qemu/qemu_alias.h
src/qemu/qemu_block.h
src/qemu/qemu_blockjob.h
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_capspriv.h
src/qemu/qemu_cgroup.h
src/qemu/qemu_command.h
src/qemu/qemu_conf.h
src/qemu/qemu_domain.h
src/qemu/qemu_domain_address.h
src/qemu/qemu_driver.h
src/qemu/qemu_extdevice.h
src/qemu/qemu_hostdev.h
src/qemu/qemu_hotplug.c
src/qemu/qemu_hotplug.h
src/qemu/qemu_hotplugpriv.h
src/qemu/qemu_interface.h
src/qemu/qemu_migration.h
src/qemu/qemu_migration_cookie.h
src/qemu/qemu_migration_params.c
src/qemu/qemu_migration_params.h
src/qemu/qemu_migration_paramspriv.h
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.h
src/qemu/qemu_monitor_priv.h
src/qemu/qemu_monitor_text.h
src/qemu/qemu_parse_command.h
src/qemu/qemu_process.c
src/qemu/qemu_process.h
src/qemu/qemu_processpriv.h
src/qemu/qemu_qapi.h
src/qemu/qemu_security.h
src/qemu/qemu_tpm.h
src/remote/remote_daemon.h
src/remote/remote_daemon_config.h
src/remote/remote_daemon_dispatch.h
src/remote/remote_daemon_stream.h
src/remote/remote_driver.h
src/rpc/virkeepalive.h
src/rpc/virnetclient.h
src/rpc/virnetclientprogram.h
src/rpc/virnetclientstream.h
src/rpc/virnetdaemon.h
src/rpc/virnetlibsshsession.h
src/rpc/virnetmessage.h
src/rpc/virnetsaslcontext.h
src/rpc/virnetserver.h
src/rpc/virnetserverclient.h
src/rpc/virnetservermdns.h
src/rpc/virnetserverprogram.h
src/rpc/virnetserverservice.h
src/rpc/virnetsocket.h
src/rpc/virnetsshsession.h
src/rpc/virnettlscontext.h
src/secret/secret_driver.h
src/secret/secret_util.h
src/security/security_apparmor.h
src/security/security_dac.h
src/security/security_driver.h
src/security/security_manager.h
src/security/security_nop.h
src/security/security_selinux.h
src/security/security_stack.h
src/storage/storage_backend.h
src/storage/storage_backend_disk.h
src/storage/storage_backend_fs.h
src/storage/storage_backend_gluster.h
src/storage/storage_backend_iscsi.h
src/storage/storage_backend_iscsi_direct.h
src/storage/storage_backend_logical.h
src/storage/storage_backend_mpath.h
src/storage/storage_backend_rbd.h
src/storage/storage_backend_scsi.h
src/storage/storage_backend_sheepdog.c
src/storage/storage_backend_sheepdog.h
src/storage/storage_backend_sheepdog_priv.h
src/storage/storage_backend_vstorage.h
src/storage/storage_backend_zfs.h
src/storage/storage_driver.h
src/storage/storage_file_fs.h
src/storage/storage_file_gluster.h
src/storage/storage_util.h
src/test/test_driver.h
src/uml/uml_conf.h
src/uml/uml_driver.h
src/util/viralloc.h
src/util/virarch.h
src/util/virarptable.h
src/util/viratomic.h
src/util/viraudit.h
src/util/virauth.h
src/util/virauthconfig.h
src/util/virbitmap.h
src/util/virbuffer.h
src/util/vircgroup.c
src/util/vircgroup.h
src/util/vircgroupbackend.c
src/util/vircgroupbackend.h
src/util/vircgrouppriv.h
src/util/vircgroupv1.c
src/util/vircgroupv1.h
src/util/vircgroupv2.c
src/util/vircgroupv2.h
src/util/virclosecallbacks.h
src/util/vircommand.c
src/util/vircommand.h
src/util/vircommandpriv.h
src/util/virconf.h
src/util/vircrypto.h
src/util/virdbus.c
src/util/virdbus.h
src/util/virdbuspriv.h
src/util/virdevmapper.h
src/util/virdnsmasq.h
src/util/virebtables.h
src/util/virendian.h
src/util/virerror.h
src/util/virevent.h
src/util/vireventpoll.h
src/util/virfcp.h
src/util/virfdstream.h
src/util/virfile.h
src/util/virfilecache.h
src/util/virfirewall.c
src/util/virfirewall.h
src/util/virfirewallpriv.h
src/util/virfirmware.h
src/util/virgettext.h
src/util/virgic.h
src/util/virhash.h
src/util/virhashcode.h
src/util/virhook.h
src/util/virhostcpu.c
src/util/virhostcpu.h
src/util/virhostcpupriv.h
src/util/virhostdev.h
src/util/virhostmem.h
src/util/viridentity.h
src/util/virinitctl.h
src/util/viriptables.h
src/util/viriscsi.h
src/util/virjson.h
src/util/virkeycode.h
src/util/virkeyfile.h
src/util/virkmod.h
src/util/virlease.h
src/util/virlockspace.h
src/util/virlog.h
src/util/virmacaddr.h
src/util/virmacmap.h
src/util/virmdev.h
src/util/virmodule.h
src/util/virnetdev.h
src/util/virnetdevbandwidth.h
src/util/virnetdevbridge.h
src/util/virnetdevip.h
src/util/virnetdevmacvlan.h
src/util/virnetdevmidonet.h
src/util/virnetdevopenvswitch.h
src/util/virnetdevtap.h
src/util/virnetdevveth.h
src/util/virnetdevvlan.h
src/util/virnetdevvportprofile.h
src/util/virnetlink.h
src/util/virnodesuspend.h
src/util/virnuma.h
src/util/virobject.h
src/util/virpci.h
src/util/virperf.h
src/util/virpidfile.h
src/util/virpolkit.h
src/util/virportallocator.h
src/util/virprobe.h
src/util/virprocess.h
src/util/virqemu.h
src/util/virrandom.h
src/util/virresctrl.c
src/util/virresctrl.h
src/util/virresctrlpriv.h
src/util/virrotatingfile.h
src/util/virscsi.h
src/util/virscsihost.h
src/util/virscsivhost.h
src/util/virseclabel.h
src/util/virsecret.h
src/util/virsexpr.h
src/util/virsocketaddr.h
src/util/virstorageencryption.h
src/util/virstoragefile.h
src/util/virstoragefilebackend.h
src/util/virstring.h
src/util/virsysinfo.c
src/util/virsysinfo.h
src/util/virsysinfopriv.h
src/util/virsystemd.c
src/util/virsystemd.h
src/util/virsystemdpriv.h
src/util/virthread.h
src/util/virthreadjob.h
src/util/virthreadpool.h
src/util/virtime.h
src/util/virtpm.h
src/util/virtypedparam.h
src/util/viruri.h
src/util/virusb.h
src/util/virutil.h
src/util/viruuid.h
src/util/virvhba.h
src/util/virvsock.h
src/util/virxdrdefs.h
src/util/virxml.h
src/vbox/vbox_MSCOMGlue.h
src/vbox/vbox_common.h
src/vbox/vbox_driver.h
src/vbox/vbox_get_driver.h
src/vbox/vbox_glue.h
src/vbox/vbox_snapshot_conf.h
src/vbox/vbox_uniformed_api.h
src/vmware/vmware_conf.h
src/vmware/vmware_driver.h
src/vmx/vmx.h
src/vz/vz_driver.h
src/vz/vz_sdk.h
src/vz/vz_utils.h
src/xenapi/xenapi_driver.h
src/xenapi/xenapi_driver_private.h
src/xenapi/xenapi_utils.h
src/xenconfig/xen_common.h
src/xenconfig/xen_sxpr.h
src/xenconfig/xen_xl.h
src/xenconfig/xen_xm.h
src/xenconfig/xenxs_private.h
tests/cputest.c
tests/networkxml2firewalltest.c
tests/nwfilterebiptablestest.c
tests/nwfilterxml2firewalltest.c
tests/qemucapabilitiestest.c
tests/qemucapsprobe.c
tests/qemucpumock.c
tests/qemuhotplugtest.c
tests/qemumigparamstest.c
tests/qemumonitorjsontest.c
tests/qemumonitortestutils.c
tests/qemumonitortestutils.h
tests/qemuxml2argvtest.c
tests/storagebackendsheepdogtest.c
tests/sysinfotest.c
tests/testutils.h
tests/testutilshostcpus.h
tests/testutilslxc.h
tests/testutilsqemu.c
tests/testutilsqemu.h
tests/testutilsqemuschema.h
tests/testutilsxen.h
tests/vircgrouptest.c
tests/virdbustest.c
tests/virfilewrapper.h
tests/virfirewalltest.c
tests/virhashdata.h
tests/virhostcputest.c
tests/viriscsitest.c
tests/virkmodtest.c
tests/virmock.h
tests/virnetdevbandwidthtest.c
tests/virnettlshelpers.h
tests/virresctrltest.c
tests/virsystemdtest.c
tools/nss/libvirt_nss.h
tools/virsh-completer.h
tools/virsh-console.h
tools/virsh-domain-monitor.h
tools/virsh-domain.h
tools/virsh-host.h
tools/virsh-interface.h
tools/virsh-network.h
tools/virsh-nodedev.h
tools/virsh-nwfilter.h
tools/virsh-pool.h
tools/virsh-secret.h
tools/virsh-snapshot.h
tools/virsh-util.h
tools/virsh-volume.h
tools/virsh.h
tools/virt-admin-completer.h
tools/virt-admin.h
tools/virt-host-validate-bhyve.h
tools/virt-host-validate-common.h
tools/virt-host-validate-lxc.h
tools/virt-host-validate-qemu.h
tools/vsh-table.h
tools/vsh.h
tools/wireshark/src/packet-libvirt.h