[PATCH 0/8] Use even morer of GLib's macros (glib chronicles)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ján Tomko (8):
  syntax-check: mock-noinline: fix after G_GNUC attribute invocations
  syntax-check: prohibit_attribute_macros: generalize error
  Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE
  Use G_GNUC_PRINTF instead of ATTRIBUTE_FMT_PRINTF
  Document the ATTRIBUTE_FALLTHROUGH macro
  Use G_GNUC_FALLTHROUGH instead of ATTRIBUTE_FALLTHROUGH
  examples: Use G_N_ELEMENTS instead of ARRAY_CARDINALITY
  Use G_N_ELEMENTS instead of ARRAY_CARDINALITY

 build-aux/mock-noinline.pl          |   4 +-
 build-aux/syntax-check.mk           |  10 ++-
 examples/c/misc/event-test.c        |  26 +++----
 src/access/viraccessmanager.c       |   2 +-
 src/conf/domain_capabilities.h      |   2 +-
 src/conf/domain_conf.c              |  10 +--
 src/conf/network_conf.c             |   2 +-
 src/conf/nwfilter_conf.c            |  14 ++--
 src/conf/storage_conf.c             |   2 +-
 src/conf/virdomainsnapshotobjlist.c |   2 +-
 src/cpu/cpu.c                       |   4 +-
 src/cpu/cpu_arm.c                   |   2 +-
 src/cpu/cpu_ppc64.c                 |   6 +-
 src/cpu/cpu_s390.c                  |   2 +-
 src/cpu/cpu_x86.c                   |   8 +-
 src/esx/esx_vi.c                    |   4 +-
 src/internal.h                      |  41 ++++------
 src/libvirt-domain.c                |   8 +-
 src/libvirt-host.c                  |   2 +-
 src/libxl/libxl_capabilities.c      |   8 +-
 src/libxl/libxl_conf.c              |   2 +-
 src/libxl/libxl_driver.c            |   2 +-
 src/libxl/libxl_logger.c            |   2 +-
 src/libxl/libxl_migration.c         |   4 +-
 src/libxl/xen_xl.c                  |   2 +-
 src/locking/domain_lock.c           |   4 +-
 src/locking/lock_daemon.c           |   4 +-
 src/locking/sanlock_helper.c        |   2 +-
 src/logging/log_daemon.c            |   4 +-
 src/lxc/lxc_container.c             |   8 +-
 src/lxc/lxc_controller.c            |   2 +-
 src/lxc/lxc_monitor.c               |   2 +-
 src/network/bridge_driver.c         |   8 +-
 src/network/leaseshelper.c          |   4 +-
 src/node_device/node_device_hal.c   |   4 +-
 src/node_device/node_device_udev.c  |   2 +-
 src/nwfilter/nwfilter_dhcpsnoop.c   |  10 +--
 src/nwfilter/nwfilter_learnipaddr.c |   2 +-
 src/phyp/phyp_driver.c              |   2 +-
 src/qemu/qemu_agent.c               |   2 +-
 src/qemu/qemu_capabilities.c        | 112 ++++++++++++++--------------
 src/qemu/qemu_capspriv.h            |   2 +-
 src/qemu/qemu_command.c             |   6 +-
 src/qemu/qemu_conf.c                |   2 +-
 src/qemu/qemu_domain.c              |   8 +-
 src/qemu/qemu_domain.h              |   4 +-
 src/qemu/qemu_driver.c              |   4 +-
 src/qemu/qemu_hotplug.c             |   4 +-
 src/qemu/qemu_migration.c           |   8 +-
 src/qemu/qemu_migration_params.c    |  12 +--
 src/qemu/qemu_monitor_json.c        |   2 +-
 src/qemu/qemu_process.c             |   2 +-
 src/qemu/qemu_qapi.c                |   2 +-
 src/remote/remote_daemon.c          |   4 +-
 src/remote/remote_daemon_dispatch.c |  14 ++--
 src/remote/remote_driver.c          |   8 +-
 src/rpc/gendispatch.pl              |   2 +-
 src/rpc/virnetclient.c              |   8 +-
 src/rpc/virnetsocket.h              |   4 +-
 src/security/security_dac.c         |   2 +-
 src/security/security_driver.c      |   2 +-
 src/security/security_selinux.c     |   2 +-
 src/security/virt-aa-helper.c       |   6 +-
 src/test/test_driver.c              |   2 +-
 src/util/virarch.c                  |   2 +-
 src/util/viraudit.c                 |   2 +-
 src/util/viraudit.h                 |   2 +-
 src/util/virbuffer.h                |   4 +-
 src/util/vircgroupv1.c              |   6 +-
 src/util/vircgroupv2.c              |   4 +-
 src/util/vircommand.h               |   6 +-
 src/util/virconf.c                  |   2 +-
 src/util/vircrypto.c                |   2 +-
 src/util/virdbus.c                  |   2 +-
 src/util/virenum.h                  |   6 +-
 src/util/virerror.h                 |   8 +-
 src/util/virfile.h                  |  28 +++----
 src/util/virfirewall.c              |   2 +-
 src/util/virfirewall.h              |   2 +-
 src/util/virhashcode.c              |   6 +-
 src/util/virhashcode.h              |   2 +-
 src/util/virhostcpu.c               |   2 +-
 src/util/virhostcpu.h               |   4 +-
 src/util/virhostuptime.h            |   2 +-
 src/util/viriptables.c              |   8 +-
 src/util/viriscsi.c                 |   2 +-
 src/util/virkeycode.c               |  26 +++----
 src/util/virlog.c                   |   6 +-
 src/util/virlog.h                   |   4 +-
 src/util/virmacaddr.h               |   2 +-
 src/util/virnetdev.c                |   4 +-
 src/util/virnetdev.h                |  10 +--
 src/util/virnetdevip.h              |   2 +-
 src/util/virnetdevmacvlan.h         |   2 +-
 src/util/virnetdevopenvswitch.h     |   2 +-
 src/util/virnetdevtap.h             |   6 +-
 src/util/virnetlink.c               |   2 +-
 src/util/virnuma.h                  |  16 ++--
 src/util/virperf.c                  |   2 +-
 src/util/virprocess.c               |   2 +-
 src/util/virprocess.h               |   4 +-
 src/util/virrandom.h                |   6 +-
 src/util/virscsi.h                  |   2 +-
 src/util/virscsivhost.h             |   2 +-
 src/util/virstoragefile.c           |   6 +-
 src/util/virstring.h                |   4 +-
 src/util/virtpm.c                   |   4 +-
 src/util/virtpm.h                   |   2 +-
 src/util/virtypedparam.c            |   2 +-
 src/util/virtypedparam.h            |  14 ++--
 src/util/virutil.c                  |  14 ++--
 src/util/virutil.h                  |  12 +--
 src/util/viruuid.h                  |   2 +-
 src/vbox/vbox_XPCOMCGlue.c          |   2 +-
 src/vmware/vmware_driver.c          |   2 +-
 src/vz/vz_driver.c                  |   8 +-
 tests/commandhelper.c               |   2 +-
 tests/esxutilstest.c                |   8 +-
 tests/eventtest.c                   |   2 +-
 tests/nwfilterxml2firewalltest.c    |   2 +-
 tests/openvzutilstest.c             |   2 +-
 tests/qemufirmwaretest.c            |   4 +-
 tests/qemumonitorjsontest.c         |   4 +-
 tests/qemumonitortestutils.c        |   2 +-
 tests/qemuvhostusertest.c           |   2 +-
 tests/qemuxml2argvmock.c            |   2 +-
 tests/qemuxml2argvtest.c            |  18 ++---
 tests/testutils.c                   |   2 +-
 tests/testutilshostcpus.h           |   8 +-
 tests/testutilsqemu.c               |  40 +++++-----
 tests/testutilsxen.c                |   6 +-
 tests/utiltest.c                    |  10 +--
 tests/virbitmaptest.c               |   8 +-
 tests/vircgrouptest.c               |  14 ++--
 tests/virfiletest.c                 |   2 +-
 tests/virfirewalltest.c             |   2 +-
 tests/virhashtest.c                 |  32 ++++----
 tests/virhostcputest.c              |   2 +-
 tests/viriscsitest.c                |   2 +-
 tests/virnetmessagetest.c           |   6 +-
 tests/virnettlscontexttest.c        |   2 +-
 tests/virnettlssessiontest.c        |   2 +-
 tests/virnumamock.c                 |   2 +-
 tests/virpcitest.c                  |   6 +-
 tests/virpolkittest.c               |   2 +-
 tests/virrotatingfiletest.c         |  10 +--
 tests/virstoragetest.c              |   8 +-
 tests/virstringtest.c               |   8 +-
 tests/virsystemdtest.c              |   4 +-
 tests/virtypedparamtest.c           |   8 +-
 tools/virsh-domain.c                |   6 +-
 tools/virsh-edit.c                  |   2 +-
 tools/virsh-network.c               |   2 +-
 tools/virsh-nodedev.c               |   2 +-
 tools/virsh-pool.c                  |   2 +-
 tools/virsh-secret.c                |   2 +-
 tools/virsh.c                       |   2 +-
 tools/virt-admin.c                  |   2 +-
 tools/virt-host-validate-common.c   |   4 +-
 tools/virt-host-validate-common.h   |   4 +-
 tools/vsh.h                         |  10 +--
 161 files changed, 498 insertions(+), 503 deletions(-)

-- 
2.19.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux