qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a9c942: Use #include "..." for our own header


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a9c942: Use #include "..." for our own headers, <...> for ...
Date: Tue, 12 Jul 2016 09:45:15 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a9c94277f07d19d3eb14f199c3e93491aa3eae0e
      
https://github.com/qemu/qemu/commit/a9c94277f07d19d3eb14f199c3e93491aa3eae0e
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M block/iscsi.c
    M crypto/hash-gcrypt.c
    M crypto/pbkdf-gcrypt.c
    M crypto/pbkdf-nettle.c
    M exec.c
    M hw/block/nvme.c
    M hw/char/sclpconsole.c
    M hw/display/vga_int.h
    M hw/display/virtio-gpu-3d.c
    M hw/display/virtio-gpu.c
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/pci-assign.c
    M hw/ide/ahci.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/ich.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/pci.c
    M hw/ide/piix.c
    M hw/ide/qdev.c
    M hw/ide/via.c
    M hw/misc/hyperv_testdev.c
    M hw/ppc/spapr_cpu_core.c
    M hw/ppc/spapr_pci_vfio.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M hw/s390x/s390-pci-bus.h
    M hw/s390x/s390-pci-inst.c
    M hw/s390x/s390-pci-inst.h
    M hw/s390x/sclpquiesce.c
    M hw/s390x/virtio-ccw.h
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi-dataplane.c
    M hw/scsi/virtio-scsi.c
    M hw/scsi/vmw_pvscsi.c
    M hw/usb/xen-usb.c
    M hw/vfio/common.c
    M hw/virtio/vhost-backend.c
    M include/exec/helper-gen.h
    M include/exec/helper-proto.h
    M include/exec/helper-tcg.h
    M include/exec/tb-hash-xx.h
    M include/hw/gpio/imx_gpio.h
    M include/hw/i2c/imx_i2c.h
    M include/hw/ide/ahci.h
    M include/hw/ide/internal.h
    M include/hw/ide/pci.h
    M include/hw/ppc/spapr_drc.h
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/sclp.h
    M include/hw/s390x/storage-keys.h
    M include/migration/vmstate.h
    M include/qemu/seqlock.h
    M include/qemu/thread-posix.h
    M include/qemu/thread-win32.h
    M linux-user/arm/nwfpe/fpa11.h
    M linux-user/flatload.c
    M monitor.c
    M qga/vss-win32/install.cpp
    M qga/vss-win32/provider.cpp
    M qga/vss-win32/requester.cpp
    M qga/vss-win32/vss-common.h
    M slirp/bootp.c
    M slirp/cksum.c
    M slirp/if.c
    M slirp/ip_input.c
    M slirp/ip_output.c
    M slirp/mbuf.c
    M slirp/misc.c
    M slirp/sbuf.c
    M slirp/socket.c
    M slirp/tcp_input.c
    M slirp/tcp_output.c
    M slirp/tcp_subr.c
    M slirp/tcp_timer.c
    M slirp/tftp.c
    M slirp/udp.c
    M target-arm/arm-powerctl.c
    M target-arm/psci.c
    M target-ppc/translate_init.c
    M target-s390x/cpu.h
    M target-unicore32/softmmu.c
    M tests/postcopy-test.c
    M tests/tcg/xtensa/linker.ld.S
    M tests/vhost-user-bridge.c
    M tests/vhost-user-test.c
    M util/mmap-alloc.c
    M util/oslib-posix.c

  Log Message:
  -----------
  Use #include "..." for our own headers, <...> for others

Tracked down with an ugly, brittle and probably buggy Perl script.

Also move includes converted to <...> up so they get included before
ours where that's obviously okay.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Tested-by: Eric Blake <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 2dbc4ebc1712a5cf9e6a36327dce0b465abd5bbe
      
https://github.com/qemu/qemu/commit/2dbc4ebc1712a5cf9e6a36327dce0b465abd5bbe
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    A scripts/clean-header-guards.pl

  Log Message:
  -----------
  scripts: New clean-header-guards.pl

The conventional way to ensure a header can be included multiple times
is to bracket it like this:

    #ifndef HEADER_NAME_H
    #define HEADER_NAME_H
    ...
    #endif

where HEADER_NAME_H is a symbol unique to this header.

The endif may be optionally decorated like this:

    #endif /* HEADER_NAME_H */

Unconventional ways present in our code:

* Identifiers reserved for any use:
    #define _FILEOP_H

* Lowercase (bad idea for object-like macros):
    #define __linux_video_vga_h__

* Roundabout ways to say the same thing (and hide from grep):
    #if !defined(__PPC_MAC_H__)
    #endif /* !defined(__PPC_MAC_H__) */

* Redundant values:
    #define HW_ALPHA_H 1

* Funny redundant values:
    # define PXA_H                 "pxa.h"

* Decorations with bangs:

    #endif /* !QEMU_ARM_GIC_INTERNAL_H */

  The negation actually makes sense, but almost all our header guard
  #endif decorations don't negate.

* Useless decorations:

   #endif  /* audio.h */

Header guards are not the place to show off creativity.  This script
normalizes them to the conventional way, and cleans up whitespace
while there.  It warns when it renames guard symbols, and explains how
to find occurences of these symbols that may have to be updated
manually.

Another issue is use of the same guard symbol in multiple headers.
That's okay only for headers that cannot be used together, such as the
*-user/*/target_syscall.h.  This script can't tell, so it warns when
it sees a reuse.

The script also warns when preprocessing a header with its guard
symbol defined produces anything but whitespace.

The next commits will put the script to use.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 07f5a258750b3b9a6e10fd5ec3e29c9a943b650e
      
https://github.com/qemu/qemu/commit/07f5a258750b3b9a6e10fd5ec3e29c9a943b650e
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M target-alpha/cpu.h
    M target-arm/cpu.h
    M target-cris/cpu.h
    M target-i386/cpu.h
    M target-lm32/cpu.h
    M target-m68k/cpu.h
    M target-microblaze/cpu.h
    M target-mips/cpu.h
    M target-moxie/cpu.h
    M target-openrisc/cpu.h
    M target-ppc/cpu.h
    M target-s390x/cpu.h
    M target-sh4/cpu.h
    M target-sparc/cpu.h
    M target-tilegx/cpu.h
    M target-tricore/cpu.h
    M target-unicore32/cpu.h
    M target-xtensa/cpu.h

  Log Message:
  -----------
  target-*: Clean up cpu.h header guards

Most of them use guard symbols like CPU_$target_H, but we also have
__MIPS_CPU_H__ and __TRICORE_CPU_H__.  They all upset
scripts/clean-header-guards.pl.

The script dislikes CPU_$target_H because they don't match their file
name (they should, to make guard collisions less likely).  The others
are reserved identifiers.

Clean them all up: use guard symbol $target_CPU_H for
target-$target/cpu.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 3622634bc665244c2fd4382301cfadcef1a9e934
      
https://github.com/qemu/qemu/commit/3622634bc665244c2fd4382301cfadcef1a9e934
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M linux-user/aarch64/target_syscall.h
    M linux-user/alpha/target_syscall.h
    M linux-user/arm/target_syscall.h
    M linux-user/cris/target_syscall.h
    M linux-user/i386/target_syscall.h
    M linux-user/m68k/target_syscall.h
    M linux-user/microblaze/target_syscall.h
    M linux-user/mips/target_syscall.h
    M linux-user/mips64/target_syscall.h
    M linux-user/openrisc/target_syscall.h
    M linux-user/ppc/target_syscall.h
    M linux-user/s390x/target_syscall.h
    M linux-user/sh4/target_syscall.h
    M linux-user/sparc/target_syscall.h
    M linux-user/sparc64/target_syscall.h
    M linux-user/tilegx/target_syscall.h
    M linux-user/unicore32/target_syscall.h
    M linux-user/x86_64/target_syscall.h

  Log Message:
  -----------
  linux-user: Clean up target_syscall.h header guards

Some of them use guard symbol TARGET_SYSCALL_H, but we also have
CRIS_SYSCALL_H, MICROBLAZE_SYSCALLS_H, TILEGX_SYSCALLS_H and
__UC32_SYSCALL_H__.  They all upset scripts/clean-header-guards.pl.

Reuse of the same guard symbol TARGET_SYSCALL_H in multiple headers is
okay as long as they cannot be included together.  The script can't
tell, so it warns.

The script dislikes the other guard symbols, too.  They don't match
their file name (they should, to make guard collisions less likely),
and __UC32_SYSCALL_H__ is a reserved identifier.

Clean them all up: use guard symbol $target_TARGET_SYSCALL_H for
linux-user/$target/target_sycall.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 55c5063c61e030c533b4bca8ef2a2ad26f1bc73a
      
https://github.com/qemu/qemu/commit/55c5063c61e030c533b4bca8ef2a2ad26f1bc73a
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M linux-user/aarch64/target_cpu.h
    M linux-user/alpha/target_cpu.h
    M linux-user/arm/target_cpu.h
    M linux-user/cris/target_cpu.h
    M linux-user/i386/target_cpu.h
    M linux-user/m68k/target_cpu.h
    M linux-user/microblaze/target_cpu.h
    M linux-user/mips/target_cpu.h
    M linux-user/openrisc/target_cpu.h
    M linux-user/ppc/target_cpu.h
    M linux-user/s390x/target_cpu.h
    M linux-user/sh4/target_cpu.h
    M linux-user/sparc/target_cpu.h
    M linux-user/tilegx/target_cpu.h
    M linux-user/unicore32/target_cpu.h

  Log Message:
  -----------
  linux-user: Clean up target_cpu.h header guards

These headers all use TARGET_CPU_H as header guard symbol.  Reuse of
the same guard symbol in multiple headers is okay as long as they
cannot be included together.

Since we can avoid guard symbol reuse easily, do so: use guard symbol
$target_TARGET_CPU_H for linux-user/$target/target_cpu.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 9c93ae13a4014055c5c78e81078e5ccdc60c1cfa
      
https://github.com/qemu/qemu/commit/9c93ae13a4014055c5c78e81078e5ccdc60c1cfa
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M linux-user/aarch64/target_signal.h
    M linux-user/alpha/target_signal.h
    M linux-user/arm/target_signal.h
    M linux-user/cris/target_signal.h
    M linux-user/i386/target_signal.h
    M linux-user/m68k/target_signal.h
    M linux-user/microblaze/target_signal.h
    M linux-user/mips/target_signal.h
    M linux-user/mips64/target_signal.h
    M linux-user/openrisc/target_signal.h
    M linux-user/ppc/target_signal.h
    M linux-user/s390x/target_signal.h
    M linux-user/sh4/target_signal.h
    M linux-user/sparc/target_signal.h
    M linux-user/sparc64/target_signal.h
    M linux-user/tilegx/target_signal.h
    M linux-user/unicore32/target_signal.h
    M linux-user/x86_64/target_signal.h

  Log Message:
  -----------
  linux-user: Clean up target_signal.h header guards

These headers all use TARGET_SIGNAL_H as header guard symbol.  Reuse
of the same guard symbol in multiple headers is okay as long as they
cannot be included together.

Since we can avoid guard symbol reuse easily, do so: use guard symbol
$target_TARGET_SIGNAL_H for linux-user/$target/target_signal.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 35003856977599497f7a873c026c95f2ed3a56e3
      
https://github.com/qemu/qemu/commit/35003856977599497f7a873c026c95f2ed3a56e3
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M linux-user/aarch64/target_structs.h
    M linux-user/alpha/target_structs.h
    M linux-user/arm/target_structs.h
    M linux-user/cris/target_structs.h
    M linux-user/i386/target_structs.h
    M linux-user/m68k/target_structs.h
    M linux-user/microblaze/target_structs.h
    M linux-user/mips/target_structs.h
    M linux-user/openrisc/target_structs.h
    M linux-user/ppc/target_structs.h
    M linux-user/s390x/target_structs.h
    M linux-user/sh4/target_structs.h
    M linux-user/sparc/target_structs.h
    M linux-user/sparc64/target_structs.h
    M linux-user/tilegx/target_structs.h
    M linux-user/unicore32/target_structs.h
    M linux-user/x86_64/target_structs.h

  Log Message:
  -----------
  linux-user: Clean up target_structs.h header guards

These headers all use TARGET_STRUCTS_H as header guard symbol.  Reuse
of the same guard symbol in multiple headers is okay as long as they
cannot be included together.

Since we can avoid guard symbol reuse easily, do so: use guard symbol
$target_TARGET_STRUCTS_H for linux-user/$target/target_structs.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 59e96bcbf904aa05185ac4161a65306dc26cda31
      
https://github.com/qemu/qemu/commit/59e96bcbf904aa05185ac4161a65306dc26cda31
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M linux-user/host/aarch64/hostdep.h
    M linux-user/host/arm/hostdep.h
    M linux-user/host/i386/hostdep.h
    M linux-user/host/ia64/hostdep.h
    M linux-user/host/mips/hostdep.h
    M linux-user/host/ppc/hostdep.h
    M linux-user/host/ppc64/hostdep.h
    M linux-user/host/s390/hostdep.h
    M linux-user/host/s390x/hostdep.h
    M linux-user/host/sparc/hostdep.h
    M linux-user/host/sparc64/hostdep.h
    M linux-user/host/x32/hostdep.h
    M linux-user/host/x86_64/hostdep.h

  Log Message:
  -----------
  linux-user: Clean up hostdep.h header guards

These headers all use QEMU_HOSTDEP_H as header guard symbol.  Reuse of
the same guard symbol in multiple headers is okay as long as they
cannot be included together.

Since we can avoid guard symbol reuse easily, do so: use guard symbol
$target_HOSTDEP_H for linux-user/host/$target/hostdep.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 1b3c4fdf30719ec97da2ec2f247f587be9e4aafb
      
https://github.com/qemu/qemu/commit/1b3c4fdf30719ec97da2ec2f247f587be9e4aafb
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Fix broken header guard in syscall_defs.h

Found with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 14e54f8ecfe9c5e17348f456781344737ed10b3b
      
https://github.com/qemu/qemu/commit/14e54f8ecfe9c5e17348f456781344737ed10b3b
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.h
    M tcg/i386/tcg-target.h
    M tcg/ia64/tcg-target.h
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.h
    M tcg/s390/tcg-target.h
    M tcg/sparc/tcg-target.h

  Log Message:
  -----------
  tcg: Clean up tcg-target.h header guards

These use guard symbols like TCG_TARGET_$target.
scripts/clean-header-guards.pl doesn't like them because they don't
match their file name (they should, to make guard collisions less
likely).

Clean them up: use guard symbol $target_TCG_TARGET_H for
tcg/$target/tcg-target.h.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 20668fdebdbb718238c7e80febd0249b5691c99f
      
https://github.com/qemu/qemu/commit/20668fdebdbb718238c7e80febd0249b5691c99f
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M include/hw/pci-host/spapr.h

  Log Message:
  -----------
  spapr_pci: Include spapr.h instead of playing games with #error

include/hw/pci-host/spapr.h needs hw/ppc/spapr.h.  It checks whether
its header guard is defined, and errors out if it isn't.

Playing games with some other header's guard symbol is not a good
idea.  Just include the frackin' header already.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 85aad98a0e0a93c146fd4c306114f23824a3db5f
      
https://github.com/qemu/qemu/commit/85aad98a0e0a93c146fd4c306114f23824a3db5f
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M hw/pci-bridge/ioh3420.c
    M hw/pci-bridge/xio3130_downstream.c
    M hw/pci-bridge/xio3130_upstream.c
    M include/qemu/acl.h
    M monitor.c
    M util/acl.c

  Log Message:
  -----------
  Drop Emacs local variables lists redundant with .dir-locals.el

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 121d07125bb6d7079c7ebafdd3efe8c3a01cc440
      
https://github.com/qemu/qemu/commit/121d07125bb6d7079c7ebafdd3efe8c3a01cc440
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M crypto/blockpriv.h
    M crypto/ivgenpriv.h
    M crypto/tlscredspriv.h
    M fsdev/file-op-9p.h
    M hw/9pfs/9p-synth.h
    M hw/alpha/alpha_sys.h
    M hw/lm32/milkymist-hw.h
    M hw/net/e1000_regs.h
    M hw/pci-bridge/dec.h
    M hw/ppc/ppc405.h
    M hw/scsi/mfi.h
    M hw/tpm/tpm_util.h
    M hw/usb/hcd-ehci.h
    M include/block/scsi.h
    M include/crypto/desrfb.h
    M include/crypto/tlscreds.h
    M include/crypto/tlscredsanon.h
    M include/crypto/tlscredsx509.h
    M include/crypto/tlssession.h
    M include/disas/bfd.h
    M include/exec/address-spaces.h
    M include/exec/helper-head.h
    M include/exec/user/abitypes.h
    M include/hw/acpi/aml-build.h
    M include/hw/acpi/cpu_hotplug.h
    M include/hw/arm/arm.h
    M include/hw/arm/stm32f205_soc.h
    M include/hw/audio/audio.h
    M include/hw/block/block.h
    M include/hw/char/pl011.h
    M include/hw/cris/etraxfs.h
    M include/hw/intc/allwinner-a10-pic.h
    M include/hw/misc/arm_integrator_debug.h
    M include/hw/misc/auxbus.h
    M include/hw/misc/mips_cmgcr.h
    M include/hw/misc/tmp105_regs.h
    M include/hw/net/allwinner_emac.h
    M include/hw/nvram/openbios_firmware_abi.h
    M include/hw/pci-host/apb.h
    M include/hw/pci-host/ppce500.h
    M include/hw/pci-host/spapr.h
    M include/hw/ppc/ppc4xx.h
    M include/hw/s390x/ioinst.h
    M include/hw/ssi/xilinx_spips.h
    M include/hw/timer/a9gtimer.h
    M include/hw/timer/allwinner-a10-pit.h
    M include/hw/timer/hpet.h
    M include/hw/timer/m48t59.h
    M include/hw/timer/mc146818rtc_regs.h
    M include/hw/tricore/tricore.h
    M include/hw/vfio/vfio.h
    M include/hw/virtio/virtio-gpu.h
    M include/libdecnumber/decNumberLocal.h
    M include/migration/block.h
    M include/monitor/hmp-target.h
    M include/monitor/qdev.h
    M include/qapi/qmp/dispatch.h
    M include/qapi/qmp/types.h
    M include/qapi/visitor.h
    M include/qemu/config-file.h
    M include/qemu/error-report.h
    M include/qemu/fifo8.h
    M include/qemu/option.h
    M include/qemu/option_int.h
    M include/qemu/sockets.h
    M include/sysemu/bt.h
    M include/sysemu/hostmem.h
    M include/sysemu/tpm_backend.h
    M include/sysemu/tpm_backend_int.h
    M net/tap_int.h
    M qga/service-win32.h
    M qga/vss-win32/vss-common.h
    M slirp/ip6_icmp.h
    M slirp/slirp.h
    M target-i386/hyperv.h
    M target-openrisc/exception.h
    M target-tilegx/opcode_tilegx.h
    M target-xtensa/core-dc232b/core-isa.h
    M target-xtensa/core-dc233c/core-isa.h
    M target-xtensa/core-fsf/core-isa.h
    M ui/vnc-enc-tight.h
    M ui/vnc-enc-zrle.h
    M ui/vnc-enc-zywrle.h

  Log Message:
  -----------
  Clean up header guards that don't match their file name

Header guard symbols should match their file name to make guard
collisions less likely.  Offenders found with
scripts/clean-header-guards.pl -vn.

Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 6031a51f1dab45bc6d5f8db1825e8f4f7915a870
      
https://github.com/qemu/qemu/commit/6031a51f1dab45bc6d5f8db1825e8f4f7915a870
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M include/libdecnumber/decNumber.h
    M include/libdecnumber/dpd/decimal128.h
    M include/libdecnumber/dpd/decimal32.h
    M include/libdecnumber/dpd/decimal64.h

  Log Message:
  -----------
  libdecnumber: Don't fool around with guards to avoid #include

Some libdecnumber headers avoid including decNumber.h or decContext.h
again by checking their header guards.  Don't.  Including them
multiple times is safe, and the compiler can do it efficiently.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 965379b4555aef0aaae734a7be139454bb0fcac4
      
https://github.com/qemu/qemu/commit/965379b4555aef0aaae734a7be139454bb0fcac4
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M include/libdecnumber/decNumberLocal.h

  Log Message:
  -----------
  libdecnumber: Don't error out on decNumberLocal.h re-inclusion

decNumberLocal.h errors out when it's included with its header guard
defined.  This catches multiple inclusions.

Drop that.  Including it multiple times is safe, and the compiler can
do it efficiently.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 2a6a4076e117113ebec97b1821071afccfdfbc96
      
https://github.com/qemu/qemu/commit/2a6a4076e117113ebec97b1821071afccfdfbc96
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M contrib/ivshmem-client/ivshmem-client.h
    M contrib/ivshmem-server/ivshmem-server.h
    M crypto/block-luks.h
    M crypto/block-qcow.h
    M fsdev/9p-iov-marshal.h
    M fsdev/9p-marshal.h
    M hw/9pfs/9p-proxy.h
    M hw/9pfs/9p-xattr.h
    M hw/9pfs/9p.h
    M hw/9pfs/coth.h
    M hw/9pfs/virtio-9p.h
    M hw/arm/strongarm.h
    M hw/audio/fmopl.h
    M hw/block/xen_blkif.h
    M hw/core/uboot_image.h
    M hw/display/vga.h
    M hw/microblaze/boot.h
    M hw/net/fsl_etsec/etsec.h
    M hw/net/fsl_etsec/registers.h
    M hw/net/rocker/rocker.h
    M hw/net/rocker/rocker_desc.h
    M hw/net/rocker/rocker_fp.h
    M hw/net/rocker/rocker_hw.h
    M hw/net/rocker/rocker_of_dpa.h
    M hw/net/rocker/rocker_tlv.h
    M hw/net/rocker/rocker_world.h
    M hw/net/vmxnet3.h
    M hw/net/vmxnet_debug.h
    M hw/ppc/mac.h
    M hw/sh4/sh7750_regnames.h
    M hw/sh4/sh7750_regs.h
    M hw/xtensa/bootparam.h
    M include/crypto/afsplit.h
    M include/crypto/block.h
    M include/crypto/cipher.h
    M include/crypto/hash.h
    M include/crypto/init.h
    M include/crypto/ivgen.h
    M include/crypto/pbkdf.h
    M include/crypto/random.h
    M include/crypto/secret.h
    M include/crypto/xts.h
    M include/disas/disas.h
    M include/elf.h
    M include/exec/exec-all.h
    M include/exec/tb-context.h
    M include/exec/tb-hash-xx.h
    M include/exec/tb-hash.h
    M include/hw/arm/exynos4210.h
    M include/hw/gpio/imx_gpio.h
    M include/hw/i2c/i2c-ddc.h
    M include/hw/i2c/imx_i2c.h
    M include/hw/input/adb.h
    M include/hw/intc/mips_gic.h
    M include/hw/ppc/openpic.h
    M include/hw/ppc/spapr.h
    M include/hw/ppc/spapr_drc.h
    M include/hw/ppc/spapr_vio.h
    M include/hw/ppc/xics.h
    M include/hw/s390x/ebcdic.h
    M include/hw/s390x/s390_flic.h
    M include/hw/s390x/storage-keys.h
    M include/hw/sd/sd.h
    M include/hw/sh4/sh_intc.h
    M include/hw/sparc/grlib.h
    M include/hw/timer/mips_gictimer.h
    M include/hw/virtio/vhost-backend.h
    M include/hw/virtio/virtio-access.h
    M include/hw/virtio/virtio-balloon.h
    M include/hw/virtio/virtio-blk.h
    M include/hw/virtio/virtio-input.h
    M include/hw/virtio/virtio-net.h
    M include/hw/virtio/virtio-rng.h
    M include/hw/virtio/virtio-scsi.h
    M include/hw/virtio/virtio-serial.h
    M include/hw/virtio/virtio.h
    M include/io/channel-buffer.h
    M include/io/channel-command.h
    M include/io/channel-file.h
    M include/io/channel-socket.h
    M include/io/channel-tls.h
    M include/io/channel-util.h
    M include/io/channel-watch.h
    M include/io/channel-websock.h
    M include/io/channel.h
    M include/io/task.h
    M include/libdecnumber/decContext.h
    M include/libdecnumber/decNumber.h
    M include/libdecnumber/dpd/decimal128.h
    M include/libdecnumber/dpd/decimal32.h
    M include/libdecnumber/dpd/decimal64.h
    M include/net/vhost-user.h
    M include/qemu/acl.h
    M include/qemu/atomic.h
    M include/qemu/base64.h
    M include/qemu/buffer.h
    M include/qemu/mmap-alloc.h
    M include/qemu/queue.h
    M include/qemu/thread-posix.h
    M include/qemu/thread-win32.h
    M include/qemu/thread.h
    M include/sysemu/balloon.h
    M include/sysemu/device_tree.h
    M linux-user/arm/nwfpe/fpa11.h
    M linux-user/arm/nwfpe/fpopcode.h
    M linux-user/arm/nwfpe/fpsr.h
    M linux-user/linux_loop.h
    M linux-user/tilegx/syscall_nr.h
    M qemu-options.h
    M slirp/if.h
    M slirp/ip.h
    M slirp/ip6.h
    M slirp/ip_icmp.h
    M slirp/libslirp.h
    M slirp/mbuf.h
    M slirp/misc.h
    M slirp/sbuf.h
    M slirp/socket.h
    M slirp/tcp.h
    M slirp/tcp_timer.h
    M slirp/tcp_var.h
    M slirp/tcpip.h
    M slirp/udp.h
    M target-i386/svm.h
    M target-mips/kvm_mips.h
    M target-mips/mips-defs.h
    M target-ppc/helper_regs.h
    M target-ppc/kvm_ppc.h
    M target-ppc/mmu-hash32.h
    M target-ppc/mmu-hash64.h
    M target-tricore/tricore-defs.h
    M tests/boot-sector.h
    M tests/libqos/ahci.h
    M tests/libqos/libqos-pc.h
    M tests/libqos/libqos.h
    M ui/keymaps.h
    M ui/sdl_zoom.h
    M ui/vnc-auth-sasl.h
    M ui/vnc-auth-vencrypt.h
    M ui/vnc-ws.h
    M ui/vnc.h

  Log Message:
  -----------
  Clean up ill-advised or unusual header guards

Cleaned up with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 175de52487ce0b0c78daa4cdf41a5a465a168a25
      
https://github.com/qemu/qemu/commit/175de52487ce0b0c78daa4cdf41a5a465a168a25
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M audio/audio.h
    M audio/audio_int.h
    M audio/audio_pt_int.h
    M audio/mixeng.h
    M bsd-user/i386/target_syscall.h
    M bsd-user/sparc/target_syscall.h
    M bsd-user/sparc64/target_syscall.h
    M bsd-user/x86_64/target_syscall.h
    M hw/audio/gusemu.h
    M hw/audio/gustate.h
    M hw/audio/lm4549.h
    M hw/audio/pl041.h
    M hw/display/qxl.h
    M hw/display/vga_int.h
    M hw/intc/gic_internal.h
    M hw/intc/gicv3_internal.h
    M hw/lm32/lm32.h
    M hw/net/ne2000.h
    M hw/net/pcnet.h
    M hw/pci-bridge/xio3130_upstream.h
    M hw/s390x/s390-virtio.h
    M hw/xen/xen-host-pci-device.h
    M hw/xen/xen_pt.h
    M hw/xenpv/xen_domainbuild.h
    M include/block/blockjob.h
    M include/block/thread-pool.h
    M include/exec/cpu-common.h
    M include/exec/gen-icount.h
    M include/exec/helper-gen.h
    M include/exec/helper-proto.h
    M include/exec/helper-tcg.h
    M include/exec/softmmu-semi.h
    M include/fpu/softfloat.h
    M include/hw/acpi/acpi.h
    M include/hw/arm/pxa.h
    M include/hw/arm/soc_dma.h
    M include/hw/audio/pcspk.h
    M include/hw/block/flash.h
    M include/hw/bt.h
    M include/hw/char/escc.h
    M include/hw/char/lm32_juart.h
    M include/hw/char/serial.h
    M include/hw/cris/etraxfs_dma.h
    M include/hw/display/dpcd.h
    M include/hw/dma/xlnx_dpdma.h
    M include/hw/empty_slot.h
    M include/hw/fw-path-provider.h
    M include/hw/i2c/pm_smbus.h
    M include/hw/i386/apic_internal.h
    M include/hw/i386/ioapic.h
    M include/hw/i386/ioapic_internal.h
    M include/hw/input/ps2.h
    M include/hw/isa/i8257.h
    M include/hw/isa/i8259_internal.h
    M include/hw/nmi.h
    M include/hw/pci/pci_bridge.h
    M include/hw/pci/pci_ids.h
    M include/hw/pcmcia.h
    M include/hw/platform-bus.h
    M include/hw/ppc/mac_dbdma.h
    M include/hw/ppc/ppc.h
    M include/hw/smbios/smbios.h
    M include/hw/stream.h
    M include/hw/sysbus.h
    M include/hw/timer/i8254.h
    M include/hw/timer/i8254_internal.h
    M include/hw/timer/mc146818rtc.h
    M include/hw/unicore32/puv3.h
    M include/hw/usb/ehci-regs.h
    M include/hw/usb/uhci-regs.h
    M include/hw/vfio/vfio-common.h
    M include/hw/vfio/vfio-platform.h
    M include/hw/watchdog/wdt_diag288.h
    M include/hw/xen/xen.h
    M include/hw/xen/xen_backend.h
    M include/hw/xen/xen_common.h
    M include/migration/qemu-file.h
    M include/migration/vmstate.h
    M include/monitor/monitor.h
    M include/qemu/bcd.h
    M include/qemu/cutils.h
    M include/qemu/fprintf-fn.h
    M include/qemu/hbitmap.h
    M include/qemu/help_option.h
    M include/qemu/host-utils.h
    M include/qemu/id.h
    M include/qemu/main-loop.h
    M include/qemu/path.h
    M include/qemu/ratelimit.h
    M include/qemu/rcu_queue.h
    M include/qemu/readline.h
    M include/qemu/seqlock.h
    M include/qemu/unicode.h
    M include/sysemu/xen-mapcache.h
    M include/trace-tcg.h
    M include/trace.h
    M linux-user/uname.h
    M net/tap-linux.h
    M slirp/bootp.h
    M slirp/main.h
    M slirp/tftp.h
    M target-cris/crisv32-decode.h
    M target-tricore/cpu-qom.h
    M tcg/tci/tcg-target.h
    M trace/control-internal.h
    M trace/control.h
    M trace/event-internal.h
    M trace/ftrace.h
    M trace/mem-internal.h
    M trace/mem.h
    M ui/curses_keys.h

  Log Message:
  -----------
  Clean up decorations and whitespace around header guards

Cleaned up with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: 82751a32be872e71c22167234ac88ba52bf96a37
      
https://github.com/qemu/qemu/commit/82751a32be872e71c22167234ac88ba52bf96a37
  Author: Markus Armbruster <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M hw/cris/boot.h

  Log Message:
  -----------
  cris: Fix broken header guard in hw/cris/boot.h

Found with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>


  Commit: ca3d87d4c84032f19478010b5604cac88b045c25
      
https://github.com/qemu/qemu/commit/ca3d87d4c84032f19478010b5604cac88b045c25
  Author: Peter Maydell <address@hidden>
  Date:   2016-07-12 (Tue, 12 Jul 2016)

  Changed paths:
    M audio/audio.h
    M audio/audio_int.h
    M audio/audio_pt_int.h
    M audio/mixeng.h
    M block/iscsi.c
    M bsd-user/i386/target_syscall.h
    M bsd-user/sparc/target_syscall.h
    M bsd-user/sparc64/target_syscall.h
    M bsd-user/x86_64/target_syscall.h
    M contrib/ivshmem-client/ivshmem-client.h
    M contrib/ivshmem-server/ivshmem-server.h
    M crypto/block-luks.h
    M crypto/block-qcow.h
    M crypto/blockpriv.h
    M crypto/hash-gcrypt.c
    M crypto/ivgenpriv.h
    M crypto/pbkdf-gcrypt.c
    M crypto/pbkdf-nettle.c
    M crypto/tlscredspriv.h
    M exec.c
    M fsdev/9p-iov-marshal.h
    M fsdev/9p-marshal.h
    M fsdev/file-op-9p.h
    M hw/9pfs/9p-proxy.h
    M hw/9pfs/9p-synth.h
    M hw/9pfs/9p-xattr.h
    M hw/9pfs/9p.h
    M hw/9pfs/coth.h
    M hw/9pfs/virtio-9p.h
    M hw/alpha/alpha_sys.h
    M hw/arm/strongarm.h
    M hw/audio/fmopl.h
    M hw/audio/gusemu.h
    M hw/audio/gustate.h
    M hw/audio/lm4549.h
    M hw/audio/pl041.h
    M hw/block/nvme.c
    M hw/block/xen_blkif.h
    M hw/char/sclpconsole.c
    M hw/core/uboot_image.h
    M hw/cris/boot.h
    M hw/display/qxl.h
    M hw/display/vga.h
    M hw/display/vga_int.h
    M hw/display/virtio-gpu-3d.c
    M hw/display/virtio-gpu.c
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/pci-assign.c
    M hw/ide/ahci.c
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/ide/ich.c
    M hw/ide/isa.c
    M hw/ide/macio.c
    M hw/ide/microdrive.c
    M hw/ide/mmio.c
    M hw/ide/pci.c
    M hw/ide/piix.c
    M hw/ide/qdev.c
    M hw/ide/via.c
    M hw/intc/gic_internal.h
    M hw/intc/gicv3_internal.h
    M hw/lm32/lm32.h
    M hw/lm32/milkymist-hw.h
    M hw/microblaze/boot.h
    M hw/misc/hyperv_testdev.c
    M hw/net/e1000_regs.h
    M hw/net/fsl_etsec/etsec.h
    M hw/net/fsl_etsec/registers.h
    M hw/net/ne2000.h
    M hw/net/pcnet.h
    M hw/net/rocker/rocker.h
    M hw/net/rocker/rocker_desc.h
    M hw/net/rocker/rocker_fp.h
    M hw/net/rocker/rocker_hw.h
    M hw/net/rocker/rocker_of_dpa.h
    M hw/net/rocker/rocker_tlv.h
    M hw/net/rocker/rocker_world.h
    M hw/net/vmxnet3.h
    M hw/net/vmxnet_debug.h
    M hw/pci-bridge/dec.h
    M hw/pci-bridge/ioh3420.c
    M hw/pci-bridge/xio3130_downstream.c
    M hw/pci-bridge/xio3130_upstream.c
    M hw/pci-bridge/xio3130_upstream.h
    M hw/ppc/mac.h
    M hw/ppc/ppc405.h
    M hw/ppc/spapr_cpu_core.c
    M hw/ppc/spapr_pci_vfio.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M hw/s390x/s390-pci-bus.h
    M hw/s390x/s390-pci-inst.c
    M hw/s390x/s390-pci-inst.h
    M hw/s390x/s390-virtio.h
    M hw/s390x/sclpquiesce.c
    M hw/s390x/virtio-ccw.h
    M hw/scsi/mfi.h
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi-dataplane.c
    M hw/scsi/virtio-scsi.c
    M hw/scsi/vmw_pvscsi.c
    M hw/sh4/sh7750_regnames.h
    M hw/sh4/sh7750_regs.h
    M hw/tpm/tpm_util.h
    M hw/usb/hcd-ehci.h
    M hw/usb/xen-usb.c
    M hw/vfio/common.c
    M hw/virtio/vhost-backend.c
    M hw/xen/xen-host-pci-device.h
    M hw/xen/xen_pt.h
    M hw/xenpv/xen_domainbuild.h
    M hw/xtensa/bootparam.h
    M include/block/blockjob.h
    M include/block/scsi.h
    M include/block/thread-pool.h
    M include/crypto/afsplit.h
    M include/crypto/block.h
    M include/crypto/cipher.h
    M include/crypto/desrfb.h
    M include/crypto/hash.h
    M include/crypto/init.h
    M include/crypto/ivgen.h
    M include/crypto/pbkdf.h
    M include/crypto/random.h
    M include/crypto/secret.h
    M include/crypto/tlscreds.h
    M include/crypto/tlscredsanon.h
    M include/crypto/tlscredsx509.h
    M include/crypto/tlssession.h
    M include/crypto/xts.h
    M include/disas/bfd.h
    M include/disas/disas.h
    M include/elf.h
    M include/exec/address-spaces.h
    M include/exec/cpu-common.h
    M include/exec/exec-all.h
    M include/exec/gen-icount.h
    M include/exec/helper-gen.h
    M include/exec/helper-head.h
    M include/exec/helper-proto.h
    M include/exec/helper-tcg.h
    M include/exec/softmmu-semi.h
    M include/exec/tb-context.h
    M include/exec/tb-hash-xx.h
    M include/exec/tb-hash.h
    M include/exec/user/abitypes.h
    M include/fpu/softfloat.h
    M include/hw/acpi/acpi.h
    M include/hw/acpi/aml-build.h
    M include/hw/acpi/cpu_hotplug.h
    M include/hw/arm/arm.h
    M include/hw/arm/exynos4210.h
    M include/hw/arm/pxa.h
    M include/hw/arm/soc_dma.h
    M include/hw/arm/stm32f205_soc.h
    M include/hw/audio/audio.h
    M include/hw/audio/pcspk.h
    M include/hw/block/block.h
    M include/hw/block/flash.h
    M include/hw/bt.h
    M include/hw/char/escc.h
    M include/hw/char/lm32_juart.h
    M include/hw/char/pl011.h
    M include/hw/char/serial.h
    M include/hw/cris/etraxfs.h
    M include/hw/cris/etraxfs_dma.h
    M include/hw/display/dpcd.h
    M include/hw/dma/xlnx_dpdma.h
    M include/hw/empty_slot.h
    M include/hw/fw-path-provider.h
    M include/hw/gpio/imx_gpio.h
    M include/hw/i2c/i2c-ddc.h
    M include/hw/i2c/imx_i2c.h
    M include/hw/i2c/pm_smbus.h
    M include/hw/i386/apic_internal.h
    M include/hw/i386/ioapic.h
    M include/hw/i386/ioapic_internal.h
    M include/hw/ide/ahci.h
    M include/hw/ide/internal.h
    M include/hw/ide/pci.h
    M include/hw/input/adb.h
    M include/hw/input/ps2.h
    M include/hw/intc/allwinner-a10-pic.h
    M include/hw/intc/mips_gic.h
    M include/hw/isa/i8257.h
    M include/hw/isa/i8259_internal.h
    M include/hw/misc/arm_integrator_debug.h
    M include/hw/misc/auxbus.h
    M include/hw/misc/mips_cmgcr.h
    M include/hw/misc/tmp105_regs.h
    M include/hw/net/allwinner_emac.h
    M include/hw/nmi.h
    M include/hw/nvram/openbios_firmware_abi.h
    M include/hw/pci-host/apb.h
    M include/hw/pci-host/ppce500.h
    M include/hw/pci-host/spapr.h
    M include/hw/pci/pci_bridge.h
    M include/hw/pci/pci_ids.h
    M include/hw/pcmcia.h
    M include/hw/platform-bus.h
    M include/hw/ppc/mac_dbdma.h
    M include/hw/ppc/openpic.h
    M include/hw/ppc/ppc.h
    M include/hw/ppc/ppc4xx.h
    M include/hw/ppc/spapr.h
    M include/hw/ppc/spapr_drc.h
    M include/hw/ppc/spapr_vio.h
    M include/hw/ppc/xics.h
    M include/hw/s390x/ebcdic.h
    M include/hw/s390x/event-facility.h
    M include/hw/s390x/ioinst.h
    M include/hw/s390x/s390_flic.h
    M include/hw/s390x/sclp.h
    M include/hw/s390x/storage-keys.h
    M include/hw/sd/sd.h
    M include/hw/sh4/sh_intc.h
    M include/hw/smbios/smbios.h
    M include/hw/sparc/grlib.h
    M include/hw/ssi/xilinx_spips.h
    M include/hw/stream.h
    M include/hw/sysbus.h
    M include/hw/timer/a9gtimer.h
    M include/hw/timer/allwinner-a10-pit.h
    M include/hw/timer/hpet.h
    M include/hw/timer/i8254.h
    M include/hw/timer/i8254_internal.h
    M include/hw/timer/m48t59.h
    M include/hw/timer/mc146818rtc.h
    M include/hw/timer/mc146818rtc_regs.h
    M include/hw/timer/mips_gictimer.h
    M include/hw/tricore/tricore.h
    M include/hw/unicore32/puv3.h
    M include/hw/usb/ehci-regs.h
    M include/hw/usb/uhci-regs.h
    M include/hw/vfio/vfio-common.h
    M include/hw/vfio/vfio-platform.h
    M include/hw/vfio/vfio.h
    M include/hw/virtio/vhost-backend.h
    M include/hw/virtio/virtio-access.h
    M include/hw/virtio/virtio-balloon.h
    M include/hw/virtio/virtio-blk.h
    M include/hw/virtio/virtio-gpu.h
    M include/hw/virtio/virtio-input.h
    M include/hw/virtio/virtio-net.h
    M include/hw/virtio/virtio-rng.h
    M include/hw/virtio/virtio-scsi.h
    M include/hw/virtio/virtio-serial.h
    M include/hw/virtio/virtio.h
    M include/hw/watchdog/wdt_diag288.h
    M include/hw/xen/xen.h
    M include/hw/xen/xen_backend.h
    M include/hw/xen/xen_common.h
    M include/io/channel-buffer.h
    M include/io/channel-command.h
    M include/io/channel-file.h
    M include/io/channel-socket.h
    M include/io/channel-tls.h
    M include/io/channel-util.h
    M include/io/channel-watch.h
    M include/io/channel-websock.h
    M include/io/channel.h
    M include/io/task.h
    M include/libdecnumber/decContext.h
    M include/libdecnumber/decNumber.h
    M include/libdecnumber/decNumberLocal.h
    M include/libdecnumber/dpd/decimal128.h
    M include/libdecnumber/dpd/decimal32.h
    M include/libdecnumber/dpd/decimal64.h
    M include/migration/block.h
    M include/migration/qemu-file.h
    M include/migration/vmstate.h
    M include/monitor/hmp-target.h
    M include/monitor/monitor.h
    M include/monitor/qdev.h
    M include/net/vhost-user.h
    M include/qapi/qmp/dispatch.h
    M include/qapi/qmp/types.h
    M include/qapi/visitor.h
    M include/qemu/acl.h
    M include/qemu/atomic.h
    M include/qemu/base64.h
    M include/qemu/bcd.h
    M include/qemu/buffer.h
    M include/qemu/config-file.h
    M include/qemu/cutils.h
    M include/qemu/error-report.h
    M include/qemu/fifo8.h
    M include/qemu/fprintf-fn.h
    M include/qemu/hbitmap.h
    M include/qemu/help_option.h
    M include/qemu/host-utils.h
    M include/qemu/id.h
    M include/qemu/main-loop.h
    M include/qemu/mmap-alloc.h
    M include/qemu/option.h
    M include/qemu/option_int.h
    M include/qemu/path.h
    M include/qemu/queue.h
    M include/qemu/ratelimit.h
    M include/qemu/rcu_queue.h
    M include/qemu/readline.h
    M include/qemu/seqlock.h
    M include/qemu/sockets.h
    M include/qemu/thread-posix.h
    M include/qemu/thread-win32.h
    M include/qemu/thread.h
    M include/qemu/unicode.h
    M include/sysemu/balloon.h
    M include/sysemu/bt.h
    M include/sysemu/device_tree.h
    M include/sysemu/hostmem.h
    M include/sysemu/tpm_backend.h
    M include/sysemu/tpm_backend_int.h
    M include/sysemu/xen-mapcache.h
    M include/trace-tcg.h
    M include/trace.h
    M linux-user/aarch64/target_cpu.h
    M linux-user/aarch64/target_signal.h
    M linux-user/aarch64/target_structs.h
    M linux-user/aarch64/target_syscall.h
    M linux-user/alpha/target_cpu.h
    M linux-user/alpha/target_signal.h
    M linux-user/alpha/target_structs.h
    M linux-user/alpha/target_syscall.h
    M linux-user/arm/nwfpe/fpa11.h
    M linux-user/arm/nwfpe/fpopcode.h
    M linux-user/arm/nwfpe/fpsr.h
    M linux-user/arm/target_cpu.h
    M linux-user/arm/target_signal.h
    M linux-user/arm/target_structs.h
    M linux-user/arm/target_syscall.h
    M linux-user/cris/target_cpu.h
    M linux-user/cris/target_signal.h
    M linux-user/cris/target_structs.h
    M linux-user/cris/target_syscall.h
    M linux-user/flatload.c
    M linux-user/host/aarch64/hostdep.h
    M linux-user/host/arm/hostdep.h
    M linux-user/host/i386/hostdep.h
    M linux-user/host/ia64/hostdep.h
    M linux-user/host/mips/hostdep.h
    M linux-user/host/ppc/hostdep.h
    M linux-user/host/ppc64/hostdep.h
    M linux-user/host/s390/hostdep.h
    M linux-user/host/s390x/hostdep.h
    M linux-user/host/sparc/hostdep.h
    M linux-user/host/sparc64/hostdep.h
    M linux-user/host/x32/hostdep.h
    M linux-user/host/x86_64/hostdep.h
    M linux-user/i386/target_cpu.h
    M linux-user/i386/target_signal.h
    M linux-user/i386/target_structs.h
    M linux-user/i386/target_syscall.h
    M linux-user/linux_loop.h
    M linux-user/m68k/target_cpu.h
    M linux-user/m68k/target_signal.h
    M linux-user/m68k/target_structs.h
    M linux-user/m68k/target_syscall.h
    M linux-user/microblaze/target_cpu.h
    M linux-user/microblaze/target_signal.h
    M linux-user/microblaze/target_structs.h
    M linux-user/microblaze/target_syscall.h
    M linux-user/mips/target_cpu.h
    M linux-user/mips/target_signal.h
    M linux-user/mips/target_structs.h
    M linux-user/mips/target_syscall.h
    M linux-user/mips64/target_signal.h
    M linux-user/mips64/target_syscall.h
    M linux-user/openrisc/target_cpu.h
    M linux-user/openrisc/target_signal.h
    M linux-user/openrisc/target_structs.h
    M linux-user/openrisc/target_syscall.h
    M linux-user/ppc/target_cpu.h
    M linux-user/ppc/target_signal.h
    M linux-user/ppc/target_structs.h
    M linux-user/ppc/target_syscall.h
    M linux-user/s390x/target_cpu.h
    M linux-user/s390x/target_signal.h
    M linux-user/s390x/target_structs.h
    M linux-user/s390x/target_syscall.h
    M linux-user/sh4/target_cpu.h
    M linux-user/sh4/target_signal.h
    M linux-user/sh4/target_structs.h
    M linux-user/sh4/target_syscall.h
    M linux-user/sparc/target_cpu.h
    M linux-user/sparc/target_signal.h
    M linux-user/sparc/target_structs.h
    M linux-user/sparc/target_syscall.h
    M linux-user/sparc64/target_signal.h
    M linux-user/sparc64/target_structs.h
    M linux-user/sparc64/target_syscall.h
    M linux-user/syscall_defs.h
    M linux-user/tilegx/syscall_nr.h
    M linux-user/tilegx/target_cpu.h
    M linux-user/tilegx/target_signal.h
    M linux-user/tilegx/target_structs.h
    M linux-user/tilegx/target_syscall.h
    M linux-user/uname.h
    M linux-user/unicore32/target_cpu.h
    M linux-user/unicore32/target_signal.h
    M linux-user/unicore32/target_structs.h
    M linux-user/unicore32/target_syscall.h
    M linux-user/x86_64/target_signal.h
    M linux-user/x86_64/target_structs.h
    M linux-user/x86_64/target_syscall.h
    M monitor.c
    M net/tap-linux.h
    M net/tap_int.h
    M qemu-options.h
    M qga/service-win32.h
    M qga/vss-win32/install.cpp
    M qga/vss-win32/provider.cpp
    M qga/vss-win32/requester.cpp
    M qga/vss-win32/vss-common.h
    A scripts/clean-header-guards.pl
    M slirp/bootp.c
    M slirp/bootp.h
    M slirp/cksum.c
    M slirp/if.c
    M slirp/if.h
    M slirp/ip.h
    M slirp/ip6.h
    M slirp/ip6_icmp.h
    M slirp/ip_icmp.h
    M slirp/ip_input.c
    M slirp/ip_output.c
    M slirp/libslirp.h
    M slirp/main.h
    M slirp/mbuf.c
    M slirp/mbuf.h
    M slirp/misc.c
    M slirp/misc.h
    M slirp/sbuf.c
    M slirp/sbuf.h
    M slirp/slirp.h
    M slirp/socket.c
    M slirp/socket.h
    M slirp/tcp.h
    M slirp/tcp_input.c
    M slirp/tcp_output.c
    M slirp/tcp_subr.c
    M slirp/tcp_timer.c
    M slirp/tcp_timer.h
    M slirp/tcp_var.h
    M slirp/tcpip.h
    M slirp/tftp.c
    M slirp/tftp.h
    M slirp/udp.c
    M slirp/udp.h
    M target-alpha/cpu.h
    M target-arm/arm-powerctl.c
    M target-arm/cpu.h
    M target-arm/psci.c
    M target-cris/cpu.h
    M target-cris/crisv32-decode.h
    M target-i386/cpu.h
    M target-i386/hyperv.h
    M target-i386/svm.h
    M target-lm32/cpu.h
    M target-m68k/cpu.h
    M target-microblaze/cpu.h
    M target-mips/cpu.h
    M target-mips/kvm_mips.h
    M target-mips/mips-defs.h
    M target-moxie/cpu.h
    M target-openrisc/cpu.h
    M target-openrisc/exception.h
    M target-ppc/cpu.h
    M target-ppc/helper_regs.h
    M target-ppc/kvm_ppc.h
    M target-ppc/mmu-hash32.h
    M target-ppc/mmu-hash64.h
    M target-ppc/translate_init.c
    M target-s390x/cpu.h
    M target-sh4/cpu.h
    M target-sparc/cpu.h
    M target-tilegx/cpu.h
    M target-tilegx/opcode_tilegx.h
    M target-tricore/cpu-qom.h
    M target-tricore/cpu.h
    M target-tricore/tricore-defs.h
    M target-unicore32/cpu.h
    M target-unicore32/softmmu.c
    M target-xtensa/core-dc232b/core-isa.h
    M target-xtensa/core-dc233c/core-isa.h
    M target-xtensa/core-fsf/core-isa.h
    M target-xtensa/cpu.h
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.h
    M tcg/i386/tcg-target.h
    M tcg/ia64/tcg-target.h
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.h
    M tcg/s390/tcg-target.h
    M tcg/sparc/tcg-target.h
    M tcg/tci/tcg-target.h
    M tests/boot-sector.h
    M tests/libqos/ahci.h
    M tests/libqos/libqos-pc.h
    M tests/libqos/libqos.h
    M tests/postcopy-test.c
    M tests/tcg/xtensa/linker.ld.S
    M tests/vhost-user-bridge.c
    M tests/vhost-user-test.c
    M trace/control-internal.h
    M trace/control.h
    M trace/event-internal.h
    M trace/ftrace.h
    M trace/mem-internal.h
    M trace/mem.h
    M ui/curses_keys.h
    M ui/keymaps.h
    M ui/sdl_zoom.h
    M ui/vnc-auth-sasl.h
    M ui/vnc-auth-vencrypt.h
    M ui/vnc-enc-tight.h
    M ui/vnc-enc-zrle.h
    M ui/vnc-enc-zywrle.h
    M ui/vnc-ws.h
    M ui/vnc.h
    M util/acl.c
    M util/mmap-alloc.c
    M util/oslib-posix.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/armbru/tags/pull-include-2016-07-12' 
into staging

Clean up #include "..." vs <...> and header guards

# gpg: Signature made Tue 12 Jul 2016 15:23:43 BST
# gpg:                using RSA key 0x3870B400EB918653
# gpg: Good signature from "Markus Armbruster <address@hidden>"
# gpg:                 aka "Markus Armbruster <address@hidden>"
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653

* remotes/armbru/tags/pull-include-2016-07-12:
  cris: Fix broken header guard in hw/cris/boot.h
  Clean up decorations and whitespace around header guards
  Clean up ill-advised or unusual header guards
  libdecnumber: Don't error out on decNumberLocal.h re-inclusion
  libdecnumber: Don't fool around with guards to avoid #include
  Clean up header guards that don't match their file name
  Drop Emacs local variables lists redundant with .dir-locals.el
  spapr_pci: Include spapr.h instead of playing games with #error
  tcg: Clean up tcg-target.h header guards
  linux-user: Fix broken header guard in syscall_defs.h
  linux-user: Clean up hostdep.h header guards
  linux-user: Clean up target_structs.h header guards
  linux-user: Clean up target_signal.h header guards
  linux-user: Clean up target_cpu.h header guards
  linux-user: Clean up target_syscall.h header guards
  target-*: Clean up cpu.h header guards
  scripts: New clean-header-guards.pl
  Use #include "..." for our own headers, <...> for others

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/7d820b766a20...ca3d87d4c840

reply via email to

[Prev in Thread] Current Thread [Next in Thread]