Clean up decorations and whitespace around header guards
authorMarkus Armbruster <armbru@redhat.com>
Wed, 29 Jun 2016 13:29:06 +0000 (15:29 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 12 Jul 2016 14:20:46 +0000 (16:20 +0200)
Cleaned up with scripts/clean-header-guards.pl.

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

index b41a97053d9bc8868bf7a1fc661b331bfa806201..11e56c9d175d71eb60ae1263073e65227aa39b7d 100644 (file)
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef QEMU_AUDIO_H
 #define QEMU_AUDIO_H
 
@@ -162,4 +163,4 @@ static inline void *advance (void *p, int incr)
 int wav_start_capture (CaptureState *s, const char *path, int freq,
                        int bits, int nchannels);
 
-#endif  /* audio.h */
+#endif /* QEMU_AUDIO_H */
index 566df5edf451d43fdfcf940d2dc0c97d5f31e7d4..5bcb1c60e183c678eedfc4fc0cf88e53f1bfcbd4 100644 (file)
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef QEMU_AUDIO_INT_H
 #define QEMU_AUDIO_INT_H
 
@@ -257,4 +258,4 @@ static inline int audio_ring_dist (int dst, int src, int len)
 #define AUDIO_FUNC __FILE__ ":" AUDIO_STRINGIFY (__LINE__)
 #endif
 
-#endif /* audio_int.h */
+#endif /* QEMU_AUDIO_INT_H */
index 0dfff76aa352b6d4944e6747f10bebb3ca7b804a..4c0c15b9af94787981c218b02e3574ab01a97bae 100644 (file)
@@ -19,4 +19,4 @@ int audio_pt_wait (struct audio_pt *, const char *);
 int audio_pt_unlock_and_signal (struct audio_pt *, const char *);
 int audio_pt_join (struct audio_pt *, void **, const char *);
 
-#endif /* audio_pt_int.h */
+#endif /* QEMU_AUDIO_PT_INT_H */
index 9de443b01d5062dafadef3b54ae5d4513bb73e0d..b53a5ef99a6a50bbd814fbfaa2e928a7d75fa1cf 100644 (file)
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef QEMU_MIXENG_H
 #define QEMU_MIXENG_H
 
@@ -48,4 +49,4 @@ void st_rate_stop (void *opaque);
 void mixeng_clear (struct st_sample *buf, int len);
 void mixeng_volume (struct st_sample *buf, int len, struct mixeng_volume *vol);
 
-#endif  /* mixeng.h */
+#endif /* QEMU_MIXENG_H */
index 82d1c58ca542be68f443e45a48f7d397f300abd4..8f201386af0ece346ecd819a780f71f4109c79d0 100644 (file)
@@ -162,4 +162,4 @@ struct target_vm86plus_struct {
 
 #define UNAME_MACHINE "i386"
 
-#endif  /* TARGET_SYSCALL_H */
+#endif /* TARGET_SYSCALL_H */
index c7eec6ba607f33786c565a8d30d4358f8c986fd2..dfdf9f82f5f5de76b401263cab6b45df243cd771 100644 (file)
@@ -11,4 +11,4 @@ struct target_pt_regs {
 
 #define UNAME_MACHINE "sun4"
 
-#endif  /* TARGET_SYSCALL_H */
+#endif /* TARGET_SYSCALL_H */
index 2f06100ae5ed3ac017b302e77b95724a2591c6d8..3a9f4c2ef939f899733b84e48454072b46b38ee0 100644 (file)
@@ -12,4 +12,4 @@ struct target_pt_regs {
 
 #define UNAME_MACHINE "sun4u"
 
-#endif  /* TARGET_SYSCALL_H */
+#endif /* TARGET_SYSCALL_H */
index 85a97669706fcfd09bdd84b81b63602ad2bca1e9..211ce29e907f16c1a6ab3882d54b8694f9409894 100644 (file)
@@ -118,4 +118,4 @@ struct target_msqid64_ds {
 #define TARGET_ARCH_GET_FS 0x1003
 #define TARGET_ARCH_GET_GS 0x1004
 
-#endif  /* TARGET_SYSCALL_H */
+#endif /* TARGET_SYSCALL_H */
index b7f075126877d14a09368bef9fff09af9a1c0e4b..9aec7bf8e76f78b43cf5ba132122cb98c04d6f19 100644 (file)
@@ -101,4 +101,4 @@ void gus_irqgen(GUSEmuState *state, unsigned int elapsed_time);
 /* lower values won´t provide any benefit at all, higher values can cause audible timing delays */
 /* note: masked timers are also calculated by this function, thus it might be needed even without any IRQs in use! */
 
-#endif  /* gusemu.h */
+#endif /* GUSEMU_H */
index ece903abb98fed9a990813337e36cf8cb52c0f2e..d16297110d0a77737c072dae25a0b07f894d4661 100644 (file)
 
 #define gusdataend (VSRegsEnd+4)
 
-#endif  /* gustate.h */
+#endif /* GUSTATE_H */
index 812a7a4440461f5cbd01e99a350f0eb6ee458d65..74c3ee89341a49172b45baf31997b885ae7f7183 100644 (file)
@@ -40,4 +40,4 @@ uint32_t lm4549_read(lm4549_state *s, hwaddr offset);
 void lm4549_write(lm4549_state *s, hwaddr offset, uint32_t value);
 uint32_t lm4549_write_samples(lm4549_state *s, uint32_t left, uint32_t right);
 
-#endif /* #ifndef HW_LM4549_H */
+#endif /* HW_LM4549_H */
index 427ab6d6f88bbf5e8a6ea474a095fe8f2fca65c4..515db4756bee9f722a906d61365d2bb0470cfc7d 100644 (file)
@@ -132,4 +132,4 @@ enum {
 #define RXTOFEC3     (1 << 11)
 #define RXTOFEC4     (1 << 12)
 
-#endif /* #ifndef HW_PL041_H */
+#endif /* HW_PL041_H */
index fdb619d4a7f54e0964b46160d74c2c24c11ae506..d2d49dd933fc2cda4c07a7762857efe56bd112fd 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_QXL_H
-#define HW_QXL_H 1
+#define HW_QXL_H
 
 #include "qemu-common.h"
 
index 29a5c0382645e31817d3b9dad9e483a9c11b388d..dd6c958da3f4b64be5639fe981d7a1bbadedbbc4 100644 (file)
@@ -21,8 +21,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef HW_VGA_INT_H
-#define HW_VGA_INT_H 1
+#define HW_VGA_INT_H
 
 #include "hw/hw.h"
 #include "exec/memory.h"
index 20c1e8a2427d9c761b86d642d2ad3df05febbeb6..3f311740da31ff99d9351417ff8a2e1b007c6cef 100644 (file)
@@ -100,4 +100,4 @@ static inline bool gic_test_pending(GICState *s, int irq, int cm)
     }
 }
 
-#endif /* !QEMU_ARM_GIC_INTERNAL_H */
+#endif /* QEMU_ARM_GIC_INTERNAL_H */
index 6ce5d49bde71434426c2199687e3fe7372df5ae5..8f3567edaa8fa3d79a009b24da162ef02aa99864 100644 (file)
@@ -328,4 +328,4 @@ static inline void gicv3_cache_all_target_cpustates(GICv3State *s)
     }
 }
 
-#endif /* !QEMU_ARM_GIC_INTERNAL_H */
+#endif /* QEMU_ARM_GICV3_INTERNAL_H */
index e338bfeae546645b3cb779efe919de5e75f05aaf..db9eb29ea40c6f84844def79c739710f986fc1aa 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_LM32_H
-#define HW_LM32_H 1
+#define HW_LM32_H
 
 #include "hw/char/lm32_juart.h"
 
index d022b28fc240480f2971c95d07eb0f24c34b5d00..d213dccae300e9a78496bcc0a42c310b4c494ca7 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_NE2000_H
-#define HW_NE2000_H 1
+#define HW_NE2000_H
 
 #define NE2000_PMEM_SIZE    (32*1024)
 #define NE2000_PMEM_START   (16*1024)
index dec8de834c26552b584c80f9c27b648b80950431..40831a784518398d691979d76d707d7f2be87347 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_PCNET_H
-#define HW_PCNET_H 1
+#define HW_PCNET_H
 
 #define PCNET_IOPORT_SIZE       0x20
 #define PCNET_PNPMMIO_SIZE      0x20
index 08c1d5f75b61df0f03706debf764c23709d59589..d0ab7577e247a0fb14322519d0d80497e5faaeb7 100644 (file)
@@ -7,4 +7,4 @@ PCIEPort *xio3130_upstream_init(PCIBus *bus, int devfn, bool multifunction,
                                 const char *bus_name, pci_map_irq_fn map_irq,
                                 uint8_t port);
 
-#endif /* QEMU_XIO3130_H */
+#endif /* QEMU_XIO3130_UPSTREAM_H */
index ffd014cb5bca318c529f9cc766b60e78bcab2d75..f588b80a6eff0e8990c3d69de804605cd58f513a 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef HW_S390_VIRTIO_H
-#define HW_S390_VIRTIO_H 1
+#define HW_S390_VIRTIO_H
 
 #include "hw/nmi.h"
 #include "standard-headers/asm-s390/kvm_virtio.h"
index 6acf36e13ad3b150a55b87d7cd4109ae00a91220..4d8d34ecb024ee77d1d73bf08746a4b71780def8 100644 (file)
@@ -55,4 +55,4 @@ int xen_host_pci_set_block(XenHostPCIDevice *d, int pos, uint8_t *buf,
 
 int xen_host_pci_find_ext_cap_offset(XenHostPCIDevice *s, uint32_t cap);
 
-#endif /* !XEN_HOST_PCI_DEVICE_H_ */
+#endif /* XEN_HOST_PCI_DEVICE_H */
index c2f8e1fc2513001026ec16f19276d1c7ec46e3e0..191d9caea1450faedc3468d74ab0bbcaf5efc452 100644 (file)
@@ -332,4 +332,4 @@ int xen_pt_register_vga_regions(XenHostPCIDevice *dev);
 int xen_pt_unregister_vga_regions(XenHostPCIDevice *dev);
 void xen_pt_setup_vga(XenPCIPassthroughState *s, XenHostPCIDevice *dev,
                      Error **errp);
-#endif /* !XEN_PT_H */
+#endif /* XEN_PT_H */
index 29a91ea7b169c059d018e5eecce7fdf1fd5a89df..652d9b410fd371320eb5bc31b7fc5dc1dffce6d9 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_HW_XEN_DOMAINBUILD_H
-#define QEMU_HW_XEN_DOMAINBUILD_H 1
+#define QEMU_HW_XEN_DOMAINBUILD_H
 
 #include "hw/xen/xen_common.h"
 
index 7dc720c82b431d3cc0fb73f694e5489b53711148..f7f5687cf404a2673946c2b1317c99f7b9a7544c 100644 (file)
@@ -22,8 +22,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef BLOCKJOB_H
-#define BLOCKJOB_H 1
+#define BLOCKJOB_H
 
 #include "block/block.h"
 
index 42eb5e842122209bfadf1818b8d9c3a01b299ee8..7dd7d730a004af57dfeeae4c58ac21afe984cde1 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef QEMU_THREAD_POOL_H
-#define QEMU_THREAD_POOL_H 1
+#define QEMU_THREAD_POOL_H
 
 #include "block/block.h"
 
index 9ac1eaf995c40f8d394aa16c66c75f7861ba7de7..952bcfeb4cbc61404225be00408a69a693b1eb35 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef CPU_COMMON_H
-#define CPU_COMMON_H 1
+#define CPU_COMMON_H
 
 /* CPU interfaces that are target independent.  */
 
@@ -117,4 +117,4 @@ int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque);
 
 #endif
 
-#endif /* !CPU_COMMON_H */
+#endif /* CPU_COMMON_H */
index a011324b9293f155c06e30a0f55ddd9b06cf9972..1af03d8f2390d23602e97cb31efe7d387e771a81 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef GEN_ICOUNT_H
-#define GEN_ICOUNT_H 1
+#define GEN_ICOUNT_H
 
 #include "qemu/timer.h"
 
index be96254e5a140a86ad64c2d071b446296d20010d..8239ffc77c04634c018013e21e847b6f9dfeced9 100644 (file)
@@ -2,7 +2,7 @@
    This one expands generation functions for tcg opcodes.  */
 
 #ifndef HELPER_GEN_H
-#define HELPER_GEN_H 1
+#define HELPER_GEN_H
 
 #include "exec/helper-head.h"
 
index 00901370edf489f030048865b8965c9f6d77f2ba..954bef85cecae638137d41a6ff8f362cc9312ca4 100644 (file)
@@ -2,7 +2,7 @@
    This one expands prototypes for the helper functions.  */
 
 #ifndef HELPER_PROTO_H
-#define HELPER_PROTO_H 1
+#define HELPER_PROTO_H
 
 #include "exec/helper-head.h"
 
index 62d87a32d632c650ac554080bf347c151650c054..bb9287727c37863ad980d6d713f79e249775eda1 100644 (file)
@@ -2,7 +2,7 @@
    This one defines data structures private to tcg.c.  */
 
 #ifndef HELPER_TCG_H
-#define HELPER_TCG_H 1
+#define HELPER_TCG_H
 
 #include "exec/helper-head.h"
 
index 3a58c3f0871f8d0b020d879ee9c2ca4b4bbfa628..7eefad8f391cae9d525862badc60984e3808a446 100644 (file)
@@ -6,8 +6,9 @@
  *
  * This code is licensed under the GPL
  */
+
 #ifndef SOFTMMU_SEMI_H
-#define SOFTMMU_SEMI_H 1
+#define SOFTMMU_SEMI_H
 
 static inline uint64_t softmmu_tget64(CPUArchState *env, target_ulong addr)
 {
index 95a11032d1d824529511d6f8324890567d4baf65..0e57ee53c01326b5d89c444e125952e040360836 100644 (file)
@@ -751,4 +751,4 @@ static inline int float128_is_any_nan(float128 a)
 *----------------------------------------------------------------------------*/
 float128 float128_default_nan(float_status *status);
 
-#endif /* !SOFTFLOAT_H */
+#endif /* SOFTFLOAT_H */
index c717f157fe1f70eb9d1b886afec4b1292e6ad1d0..7b3d93cf0d8f22571e4c3b089af1f0425906935c 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef QEMU_HW_ACPI_H
 #define QEMU_HW_ACPI_H
+
 /*
  *  Copyright (c) 2009 Isaku Yamahata <yamahata at valinux co jp>
  *                     VA Linux Systems Japan K.K.
@@ -188,4 +189,4 @@ struct AcpiSlicOem {
 };
 int acpi_get_slic_oem(AcpiSlicOem *oem);
 
-#endif /* !QEMU_HW_ACPI_H */
+#endif /* QEMU_HW_ACPI_H */
index 074feacd032e1286b88f6856b604c4f70d0a47f3..dd1a48b0c13ad59d22473253f8f18d6000cd2700 100644 (file)
@@ -6,8 +6,9 @@
  *
  * This code is licensed under the GNU GPL v2.
  */
+
 #ifndef PXA_H
-# define PXA_H                 "pxa.h"
+#define PXA_H
 
 #include "exec/memory.h"
 #include "target-arm/cpu-qom.h"
@@ -189,4 +190,4 @@ PXA2xxState *pxa270_init(MemoryRegion *address_space, unsigned int sdram_size,
                          const char *revision);
 PXA2xxState *pxa255_init(MemoryRegion *address_space, unsigned int sdram_size);
 
-#endif /* PXA_H */
+#endif /* PXA_H */
index 7379731afd793215e9819d6e831541a19e8abedc..fae322997e0fb0da952539e5bd5550bcbeb56103 100644 (file)
@@ -19,8 +19,7 @@
  */
 
 #ifndef HW_SOC_DMA_H
-#define HW_SOC_DMA_H 1
-
+#define HW_SOC_DMA_H
 
 #include "exec/memory.h"
 #include "hw/irq.h"
index 33e46a53d076d26b751e30f4bd490685d7ce6a90..172afbf1461ad3859133ac59c9375e73762588bf 100644 (file)
@@ -44,4 +44,4 @@ static inline ISADevice *pcspk_init(ISABus *bus, ISADevice *pit)
     return isadev;
 }
 
-#endif /* !HW_PCSPK_H */
+#endif /* HW_PCSPK_H */
index a088baa4e4a844ac235d60dfaa1e2d79e33001ac..67c3aa329e0e6c3fba3df51be90813a0c282c877 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_FLASH_H
-#define HW_FLASH_H 1
+#define HW_FLASH_H
 
 /* NOR flash devices */
 
index c7c7909a371bed3876567941939191462a61a8de..185e79df2bcc3af7722187c8f2ca79e02a357e71 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #ifndef HW_BT_H
-#define HW_BT_H 1
+#define HW_BT_H
 
 #include "hw/irq.h"
 
index 2742d70ea0fc421b4c5f26110ad6103bb87bdaeb..297e2ebcdabf7d5f218a471d811e7acf97fa2a3b 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_ESCC_H
-#define HW_ESCC_H 1
+#define HW_ESCC_H
 
 /* escc.c */
 #define TYPE_ESCC "escc"
index 70dc416e9f9459f74eb8cb7268cc7d84bd9ef6df..e7c6fb5a3bd70eb657ed3943ba43bcab2a402494 100644 (file)
@@ -10,4 +10,4 @@ uint32_t lm32_juart_get_jrx(DeviceState *d);
 void lm32_juart_set_jtx(DeviceState *d, uint32_t jtx);
 void lm32_juart_set_jrx(DeviceState *d, uint32_t jrx);
 
-#endif /* QEMU_HW_LM32_JUART_H */
+#endif /* QEMU_HW_CHAR_LM32_JUART_H */
index 9feddc613cef6d3c0c651da777483f23bd6d6dd4..a4fd3d559ca9c5bfd222b1ef8b2279774610266f 100644 (file)
@@ -22,8 +22,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef HW_SERIAL_H
-#define HW_SERIAL_H 1
+#define HW_SERIAL_H
 
 #include "hw/hw.h"
 #include "sysemu/sysemu.h"
index 38104a67b53c68ba7b2ea3becc7108856a998ba3..f6f33e0980f423476bbb99d5bfeee41a388d2976 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_ETRAXFS_DMA_H
-#define HW_ETRAXFS_DMA_H 1
+#define HW_ETRAXFS_DMA_H
 
 struct dma_context_metadata {
        /* data descriptor md */
index 274dc2e42d8f4536fb98d6c9767107816a13a55a..6880ee36a3523e84136eeb2f36d7e43dc63eb202 100644 (file)
@@ -102,4 +102,4 @@ typedef struct DPCDState DPCDState;
 #define DPCD_SINK_STATUS                        0x205
 #define DPCD_RECEIVE_PORT_0_STATUS              0x01
 
-#endif /* !DPCD_H */
+#endif /* DPCD_H */
index ae571a0b2f89e6a94b46d1d71aa55baab9e48483..664df28ae698a736293cc99d9b65587af99c4259 100644 (file)
@@ -82,4 +82,4 @@ void xlnx_dpdma_set_host_data_location(XlnxDPDMAState *s, uint8_t channel,
  */
 void xlnx_dpdma_trigger_vsync_irq(XlnxDPDMAState *s);
 
-#endif /* !XLNX_DPDMA_H */
+#endif /* XLNX_DPDMA_H */
index 6079602cdf561d7807c052a5d9a49275338bcbee..123a9f89890b23892c5565b0010a3d2274b2bb4a 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_EMPTY_SLOT_H
-#define HW_EMPTY_SLOT_H 1
+#define HW_EMPTY_SLOT_H
 
 /* empty_slot.c */
 void empty_slot_init(hwaddr addr, uint64_t slot_size);
index 7afaec0b1dea680d41c1ea02a2c1bc89111074d9..050cb05d92796a4e9753dbb1a7a5511ee67e8b69 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef FW_PATH_PROVIDER_H
-#define FW_PATH_PROVIDER_H 1
+#define FW_PATH_PROVIDER_H
 
 #include "qemu-common.h"
 #include "qom/object.h"
index 926603fdff2930c405af0d0a2e51f3f9593fdf7b..2a837afdcbecf16f715939dec9c326e2d4c4b345 100644 (file)
@@ -17,4 +17,4 @@ typedef struct PMSMBus {
 
 void pm_smbus_init(DeviceState *parent, PMSMBus *smb);
 
-#endif /* !PM_SMBUS_H */
+#endif /* PM_SMBUS_H */
index 74fe935e8eab78c53549b2e17694e99c59b811d5..73ce71674f21c15922e7d8cf27707e22210b705f 100644 (file)
@@ -17,6 +17,7 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>
  */
+
 #ifndef QEMU_APIC_INTERNAL_H
 #define QEMU_APIC_INTERNAL_H
 
@@ -222,4 +223,4 @@ static inline int apic_get_bit(uint32_t *tab, int index)
     return !!(tab[i] & mask);
 }
 
-#endif /* !QEMU_APIC_INTERNAL_H */
+#endif /* QEMU_APIC_INTERNAL_H */
index 6245388c5d2ca552d31f9b5958d0e54f8c3f3e1b..9c8816f11f272ccc9e8e14fe4e6a3f8d80dcc341 100644 (file)
@@ -25,4 +25,4 @@
 
 void ioapic_eoi_broadcast(int vector);
 
-#endif /* !HW_IOAPIC_H */
+#endif /* HW_IOAPIC_H */
index cab9e67ee71cfbb16b7d4ea0ea5c43d1e95c45c5..0542aa1131c504ef9a9f71e9a970432d42986f72 100644 (file)
@@ -112,4 +112,4 @@ void ioapic_reset_common(DeviceState *dev);
 
 void ioapic_print_redtbl(Monitor *mon, IOAPICCommonState *s);
 
-#endif /* !QEMU_IOAPIC_INTERNAL_H */
+#endif /* QEMU_IOAPIC_INTERNAL_H */
index 7c45ce7ced4a2f7c1e10c2d554894cd696d29af3..b9ceee4154d25f40027d311d4cdea317da5b7070 100644 (file)
@@ -35,4 +35,4 @@ void ps2_queue(void *, int b);
 void ps2_keyboard_set_translation(void *opaque, int mode);
 void ps2_mouse_fake_event(void *opaque);
 
-#endif /* !HW_PS2_H */
+#endif /* HW_PS2_H */
index 8c44d3628259e0ad9ab62205ca7ecf5fb756186e..aa211c0df7c038869793e43cd4d42eeda9e970aa 100644 (file)
@@ -39,4 +39,3 @@ typedef struct I8257State {
 } I8257State;
 
 #endif
-
index cded509636535efdad0bc210e64f00bf5cd8f1cb..6954b6ec5f5af5cb9c7b3860902b3934707740ea 100644 (file)
@@ -80,4 +80,4 @@ void pic_reset_common(PICCommonState *s);
 ISADevice *i8259_init_chip(const char *name, ISABus *bus, bool master);
 
 
-#endif /* !QEMU_I8259_INTERNAL_H */
+#endif /* QEMU_I8259_INTERNAL_H */
index b541772e1d940fe7ee62e30e80d76b7a640067a9..d092c684a160fdc941ebeebb5217e61956ac4491 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #ifndef NMI_H
-#define NMI_H 1
+#define NMI_H
 
 #include "qemu-common.h"
 #include "qom/object.h"
index ed4aff6cd2c89a99748870884bcb098df43cfe5e..847fd7db33e2068872476a8311cbc9dd6e93bc83 100644 (file)
@@ -67,4 +67,4 @@ void pci_bridge_map_irq(PCIBridge *br, const char* bus_name,
 #define  PCI_BRIDGE_CTL_DISCARD_STATUS 0x400   /* Discard timer status */
 #define  PCI_BRIDGE_CTL_DISCARD_SERR   0x800   /* Discard timer SERR# enable */
 
-#endif  /* QEMU_PCI_BRIDGE_H */
+#endif /* QEMU_PCI_BRIDGE_H */
index db85afa03ec0a53451f7b0bbe9878ec183a312c0..d77ca60a0eec937830fa4077c6ab7d2bb0545b43 100644 (file)
@@ -7,8 +7,9 @@
  *
  *      QEMU-specific definitions belong in pci.h
  */
+
 #ifndef HW_PCI_IDS_H
-#define HW_PCI_IDS_H 1
+#define HW_PCI_IDS_H
 
 /* Device classes and subclasses */
 
index 98406ffbc9118943159201d5c8bd5ebb453b84c8..79cac9c76182bb5e05a575127a925a3f34f2c442 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_PCMCIA_H
-#define HW_PCMCIA_H 1
+#define HW_PCMCIA_H
 
 /* PCMCIA/Cardbus */
 
index bd42b838099526cb914500339fdd9f4d4187bab5..a00775cba638349a927c4579c4257e9eca750b6d 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_PLATFORM_BUS_H
-#define HW_PLATFORM_BUS_H 1
+#define HW_PLATFORM_BUS_H
 
 /*
  *  Platform Bus device to support dynamic Sysbus devices
@@ -54,4 +54,4 @@ int platform_bus_get_irqn(PlatformBusDevice *platform_bus, SysBusDevice *sbdev,
 hwaddr platform_bus_get_mmio_addr(PlatformBusDevice *pbus, SysBusDevice *sbdev,
                                   int n);
 
-#endif /* !HW_PLATFORM_BUS_H */
+#endif /* HW_PLATFORM_BUS_H */
index d15a6ccf3e65b1ab2cd1ebbb8396c978ed4a05ea..a8603877d79cddbdb433771d0f45aaec5c93b7e0 100644 (file)
@@ -19,8 +19,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef HW_MAC_DBDMA_H
-#define HW_MAC_DBDMA_H 1
+#define HW_MAC_DBDMA_H
 
 #include "exec/memory.h"
 #include "qemu/iov.h"
index 5617dc4a2c0409122ed75ebeaa95dbfbb4414bc3..520c72a08d1138eab51897aa6da4c6e6ed7b9597 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_PPC_H
-#define HW_PPC_H 1
+#define HW_PPC_H
 
 #include "target-ppc/cpu-qom.h"
 
index ba3674609edf40d3a7e294bbbf14ca7b8a298253..1cd53cc58cb59c68ece8f0f5aa299afe0fedfe0a 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef QEMU_SMBIOS_H
 #define QEMU_SMBIOS_H
+
 /*
  * SMBIOS Support
  *
@@ -266,4 +267,4 @@ void smbios_get_tables(const struct smbios_phys_mem_area *mem_array,
                        const unsigned int mem_array_size,
                        uint8_t **tables, size_t *tables_len,
                        uint8_t **anchor, size_t *anchor_len);
-#endif /*QEMU_SMBIOS_H */
+#endif /* QEMU_SMBIOS_H */
index 30ccc562038cf5a11c0f38f9ffea2ec9c69487e0..c370ba0c6642b5d457db52b04612d58948f7ffeb 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef STREAM_H
-#define STREAM_H 1
+#define STREAM_H
 
 #include "qemu-common.h"
 #include "qom/object.h"
index a4959378d4268ca842e1fc42d2ff01e779fe38af..e73a5b21ac51618c919020003b7483e5343ac165 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_SYSBUS_H
-#define HW_SYSBUS_H 1
+#define HW_SYSBUS_H
 
 /* Devices attached directly to the main system bus.  */
 
@@ -118,4 +118,4 @@ static inline DeviceState *sysbus_try_create_simple(const char *name,
     return sysbus_try_create_varargs(name, addr, irq, NULL);
 }
 
-#endif /* !HW_SYSBUS_H */
+#endif /* HW_SYSBUS_H */
index 27a0fb6c51eb4689992d4702eda98578f1ea3ab6..5adae9fa449bf7061bd5dbb96511b6fa90023db4 100644 (file)
@@ -80,4 +80,4 @@ static inline ISADevice *kvm_pit_init(ISABus *bus, int base)
 void pit_set_gate(ISADevice *dev, int channel, int val);
 void pit_get_channel_info(ISADevice *dev, int channel, PITChannelInfo *info);
 
-#endif /* !HW_I8254_H */
+#endif /* HW_I8254_H */
index e7cb7573ca2a0930db8600cb7ab2fbd4c65c7aa7..dc09cc0467989d64de1e95dfd5aca1bcb65efc10 100644 (file)
@@ -73,4 +73,4 @@ void pit_get_channel_info_common(PITCommonState *s, PITChannelState *sc,
                                  PITChannelInfo *info);
 void pit_reset_common(PITCommonState *s);
 
-#endif /* !QEMU_I8254_INTERNAL_H */
+#endif /* QEMU_I8254_INTERNAL_H */
index eaf649767f42c10e909fe3fc7d45b5fb9c76e408..7c8e64b203f18367d039ce24faeeb971352cc856 100644 (file)
@@ -10,4 +10,4 @@ ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
 void rtc_set_memory(ISADevice *dev, int addr, int val);
 int rtc_get_memory(ISADevice *dev, int addr);
 
-#endif /* !MC146818RTC_H */
+#endif /* MC146818RTC_H */
index f37adcb6657b0f92a97297bf889f7ef1658afbe8..5a4839f8df728c20c5de4bf65acbb4e02a2d5134 100644 (file)
@@ -8,6 +8,7 @@
  * published by the Free Software Foundation, or any later version.
  * See the COPYING file in the top-level directory.
  */
+
 #ifndef QEMU_HW_PUV3_H
 #define QEMU_HW_PUV3_H
 
@@ -46,4 +47,4 @@
 #define DPRINTF(fmt, ...) do {} while (0)
 #endif
 
-#endif /* !QEMU_HW_PUV3_H */
+#endif /* QEMU_HW_PUV3_H */
index 616f1b88cc8ef66b946950b7a0532032d7a64a65..3e91b8e610298124cb905f2ed8075d7832e4c293 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_USB_EHCI_REGS_H
-#define HW_USB_EHCI_REGS_H 1
+#define HW_USB_EHCI_REGS_H
 
 /* Capability Registers Base Address - section 2.2 */
 #define CAPLENGTH        0x0000  /* 1-byte, 0x0001 reserved */
index c7315c5e1f17f4c5ef936aee2336259e9d319545..fd45d29db0f2dc99aebb4fdd8ecb7db096a6ceef 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef HW_USB_UHCI_REGS_H
-#define HW_USB_UHCI_REGS_H 1
+#define HW_USB_UHCI_REGS_H
 
 #define UHCI_CMD_FGR      (1 << 4)
 #define UHCI_CMD_EGSM     (1 << 3)
index 07f7188df4f3fd3f13e1ae5133a0846b95fb8a6b..94dfae387a44f3b226fe87a43becc8d0aada5c85 100644 (file)
@@ -17,6 +17,7 @@
  *  Copyright (C) 2008, Red Hat, Amit Shah (amit.shah@redhat.com)
  *  Copyright (C) 2008, IBM, Muli Ben-Yehuda (muli@il.ibm.com)
  */
+
 #ifndef HW_VFIO_VFIO_COMMON_H
 #define HW_VFIO_VFIO_COMMON_H
 
@@ -174,4 +175,4 @@ int vfio_spapr_create_window(VFIOContainer *container,
 int vfio_spapr_remove_window(VFIOContainer *container,
                              hwaddr offset_within_address_space);
 
-#endif /* !HW_VFIO_VFIO_COMMON_H */
+#endif /* HW_VFIO_VFIO_COMMON_H */
index b468f80b1ebf09ef283b1b68e5651c16c57ec1fc..9baaa2db09b84f3e1bd487c8f1d7d68397602f7e 100644 (file)
@@ -74,4 +74,4 @@ typedef struct VFIOPlatformDeviceClass {
 #define VFIO_PLATFORM_DEVICE_GET_CLASS(obj) \
      OBJECT_GET_CLASS(VFIOPlatformDeviceClass, (obj), TYPE_VFIO_PLATFORM)
 
-#endif /*HW_VFIO_VFIO_PLATFORM_H*/
+#endif /* HW_VFIO_VFIO_PLATFORM_H */
index 7f3fd450dc3188f35d4c9f995bee030a2e5ff8e4..706d96b753c71a9b148205aa62e1388498a9a27e 100644 (file)
@@ -33,4 +33,4 @@ typedef struct DIAG288Class {
                         uint64_t func, uint64_t timeout);
 } DIAG288Class;
 
-#endif  /* WDT_DIAG288_H */
+#endif /* WDT_DIAG288_H */
index b2cd992430c9d82aad9e4e7bb3dcb19cf549327d..a8f3afb03b90d6050fe4e228d242ebf172617723 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef QEMU_HW_XEN_H
-#define QEMU_HW_XEN_H 1
+#define QEMU_HW_XEN_H
+
 /*
  * public xen header
  *   stuff needed outside xen-*.c, i.e. interfaces to qemu.
index 6e18a46a9727a738ce27abf91dec20049ee6f841..754c0a4ee640e4aec67b30433d5ad6d513764628 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_HW_XEN_BACKEND_H
-#define QEMU_HW_XEN_BACKEND_H 1
+#define QEMU_HW_XEN_BACKEND_H
 
 #include "hw/xen/xen_common.h"
 #include "sysemu/sysemu.h"
index 5eabf37328bfb6dc4b6edde02b4207e536a01545..640c31e2c1780eb2acf5012dee4f2e5b6c7a4384 100644 (file)
@@ -1,7 +1,5 @@
 #ifndef QEMU_HW_XEN_COMMON_H
-#define QEMU_HW_XEN_COMMON_H 1
-
-
+#define QEMU_HW_XEN_COMMON_H
 
 /*
  * If we have new enough libxenctrl then we do not want/need these compat
index 2409a989673d842fcdba897bda981113cfbf35ac..abedd466c945d4bd8a96aec519787338054a5231 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef QEMU_FILE_H
-#define QEMU_FILE_H 1
+#define QEMU_FILE_H
+
 #include "qemu-common.h"
 #include "exec/cpu-common.h"
 #include "io/channel.h"
index 8e31b9b6ecd717d731841c895ff6c2a9570fd0f6..1638ee57f7d8837a6bffd22a783b55c74d090f15 100644 (file)
@@ -23,8 +23,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef QEMU_VMSTATE_H
-#define QEMU_VMSTATE_H 1
+#define QEMU_VMSTATE_H
 
 #ifndef CONFIG_USER_ONLY
 #include "migration/qemu-file.h"
index aa0f37320ca2ec6097b8587277a42ceca827dd75..c5c9ea292fcaf7b1a9c87c0a2df590a3dcfd3676 100644 (file)
@@ -51,4 +51,4 @@ int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd);
 void monitor_fdset_dup_fd_remove(int dup_fd);
 int monitor_fdset_dup_fd_find(int dup_fd);
 
-#endif /* !MONITOR_H */
+#endif /* MONITOR_H */
index b4c9b64b8f9b205d330776c021e33a1238b3eb72..dfebacf1fc38a82d8375632a66494636e2288287 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_BCD_H
-#define QEMU_BCD_H 1
+#define QEMU_BCD_H
 
 /* Convert a byte between binary and BCD.  */
 static inline uint8_t to_bcd(uint8_t val)
index db7adadcf993e2421dd38907dc3bcd3bd04ca55b..3e4ea236f06c6202ac6f7ff3cc06c2ffcf923eb9 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_CUTILS_H
-#define QEMU_CUTILS_H 1
+#define QEMU_CUTILS_H
 
 #include "qemu/fprintf-fn.h"
 
index b6bad35b1b3c712939cb3b3bc2dec1e87b950473..9068a960b3b1e99bb3ca19be1477288f41197268 100644 (file)
@@ -6,8 +6,7 @@
  */
 
 #ifndef QEMU_FPRINTF_FN_H
-#define QEMU_FPRINTF_FN_H 1
-
+#define QEMU_FPRINTF_FN_H
 
 typedef int (*fprintf_function)(FILE *f, const char *fmt, ...)
     GCC_FMT_ATTR(2, 3);
index e29188c0adad24d30d9b8cce083757057d0a0d92..8ab721e5aa6ca21315cec6400a8d5fcbcec536d3 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #ifndef HBITMAP_H
-#define HBITMAP_H 1
+#define HBITMAP_H
 
 #include "bitops.h"
 #include "host-utils.h"
index e39a66e77b3490347637db9e7e6885712b840048..328d2a89fdab372493bac37813ccaecaa5ea5349 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_HELP_OPTION_H
-#define QEMU_HELP_OPTION_H 1
+#define QEMU_HELP_OPTION_H
 
 /**
  * is_help_option:
index 3de7d4ec55082deb800b58582952a510799375be..46187bbc7eb4559d6ea354ed25a4da7db0141463 100644 (file)
@@ -22,8 +22,9 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef HOST_UTILS_H
-#define HOST_UTILS_H 1
+#define HOST_UTILS_H
 
 #include "qemu/bswap.h"
 
index 7d90335afb7f4acd649f1b79716723bad0358cbb..40c70103e427ac2776a0d6b8c5a5d750a7aab423 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_ID_H
-#define QEMU_ID_H 1
+#define QEMU_ID_H
 
 typedef enum IdSubSystems {
     ID_QDEV,
index 19b5de3dd5668fa2a48ed469c69a35233883c4d2..3fa7cfe574272332c592195f27e8d9aa3bb7d032 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #ifndef QEMU_MAIN_LOOP_H
-#define QEMU_MAIN_LOOP_H 1
+#define QEMU_MAIN_LOOP_H
 
 #include "block/aio.h"
 
index ed5fee086f23dc93f51602bf63f093f68f76e869..c6292a9709dd5900188dd26d17c497a152b155e6 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_PATH_H
-#define QEMU_PATH_H 1
+#define QEMU_PATH_H
 
 void init_paths(const char *prefix);
 const char *path(const char *pathname);
index d413a4a696b78f79628e459395bb87dd35d681c1..1e3cb13b282000a355c92c2c97c1e6424d608b68 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #ifndef QEMU_RATELIMIT_H
-#define QEMU_RATELIMIT_H 1
+#define QEMU_RATELIMIT_H
 
 typedef struct {
     int64_t next_slice_time;
index 3aca7a57e3346d72dfcaba1f4f2ff2bdb1cedf8b..01be77407ba776366f5d23ec827e60a4323fe6ef 100644 (file)
@@ -131,4 +131,4 @@ extern "C" {
 #ifdef __cplusplus
 }
 #endif
-#endif /* QEMU_RCU_QUEUE.H */
+#endif /* QEMU_RCU_QUEUE_H */
index 49efe4e39b491a34a2478327d67c2e53b97b7842..c08cf7400ef334da7c679232df895e2ef704b5d6 100644 (file)
@@ -60,4 +60,4 @@ ReadLineState *readline_init(ReadLinePrintfFunc *printf_func,
                              void *opaque,
                              ReadLineCompletionFunc *completion_finder);
 
-#endif /* !READLINE_H */
+#endif /* READLINE_H */
index 18eb3fda9de2d4b5bc6af4fcaa36318c75fbee92..2e2be4c4f083e55acc8861021750d4f35a0fe6d5 100644 (file)
@@ -10,8 +10,9 @@
  * See the COPYING file in the top-level directory.
  *
  */
+
 #ifndef QEMU_SEQLOCK_H
-#define QEMU_SEQLOCK_H 1
+#define QEMU_SEQLOCK_H
 
 #include "qemu/atomic.h"
 #include "qemu/thread.h"
index d8731652d29c79a9c7544d3601096d26ec6de611..71c72db461d1a1157e4f36b0b593c7562f24c85d 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef QEMU_UNICODE_H
-#define QEMU_UNICODE_H 1
+#define QEMU_UNICODE_H
 
 int mod_utf8_codepoint(const char *s, size_t n, char **end);
 
index c849489fb26dbad15fe086dc57ead831c21d1b4d..b8c93b9bceb059be400411d6bb8334c2ac008d34 100644 (file)
@@ -9,7 +9,6 @@
 #ifndef XEN_MAPCACHE_H
 #define XEN_MAPCACHE_H
 
-
 typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr start_addr,
                                                      ram_addr_t size,
                                                      void *opaque);
@@ -52,4 +51,4 @@ static inline void xen_invalidate_map_cache(void)
 
 #endif
 
-#endif /* !XEN_MAPCACHE_H */
+#endif /* XEN_MAPCACHE_H */
index 6f6bdbb44a7ef5268e920579111395a22b8d6542..edab4b159c03d5f1d5683d21b70652931c8b8e29 100644 (file)
@@ -4,4 +4,4 @@
 #include "trace/generated-tcg-tracers.h"
 #include "trace/generated-events.h"
 
-#endif  /* TRACE_TCG_H */
+#endif /* TRACE_TCG_H */
index 44a1f1f8c7834b033d09eeaa5e8adc0e024c2da5..9a01e4454bdf3761792df27370f10ba4c0ea0f31 100644 (file)
@@ -4,4 +4,4 @@
 #include "trace/generated-tracers.h"
 #include "trace/generated-events.h"
 
-#endif  /* TRACE_H */
+#endif /* TRACE_H */
index cc62e76cc10db1e68aab4ed16b17e5ebec007e1f..4503094211f906a321df8f0440e9cc18d401a456 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef UNAME_H
-#define UNAME_H 1
+#define UNAME_H
 
 #include <sys/utsname.h>
 #include <linux/utsname.h>
@@ -7,4 +7,4 @@
 const char *cpu_to_uname_machine(void *cpu_env);
 int sys_uname(struct new_utsname *buf);
 
-#endif /* UNAME _H */
+#endif /* UNAME_H */
index 1dc3a9f279d506e1b085f011a5c51bb2bdd98c62..2f36d100fc5d57deffc4d8d60867e545e34efd2c 100644 (file)
@@ -50,4 +50,4 @@
 #define TUN_F_TSO_ECN  0x08    /* I can handle TSO with ECN bits. */
 #define TUN_F_UFO      0x10    /* I can handle UFO packets */
 
-#endif /* QEMU_TAP_H */
+#endif /* QEMU_TAP_LINUX_H */
index ec3b68704c30ed1a7a8bde9ff343a7d9cb7dbb06..394525733e4fb8ca56ddbf759cbb383eae920455 100644 (file)
@@ -1,6 +1,7 @@
 /* bootp/dhcp defines */
+
 #ifndef SLIRP_BOOTP_H
-#define SLIRP_BOOTP_H 1
+#define SLIRP_BOOTP_H
 
 #define BOOTP_SERVER   67
 #define BOOTP_CLIENT   68
index f2e58cfe2d98268ea4d67af1a7484499506c0519..90053ce5eca6c5a5f6dc1708c65c1a58d70cc084 100644 (file)
@@ -4,8 +4,9 @@
  * Please read the file COPYRIGHT for the
  * terms and conditions of the copyright.
  */
+
 #ifndef SLIRP_MAIN_H
-#define SLIRP_MAIN_H 1
+#define SLIRP_MAIN_H
 
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
index 1cb1adf591887ffd66cc071e05009bd9d5b7929d..2cd276dec63a030ba71e86e4d72d316df2718a8b 100644 (file)
@@ -1,6 +1,7 @@
 /* tftp defines */
+
 #ifndef SLIRP_TFTP_H
-#define SLIRP_TFTP_H 1
+#define SLIRP_TFTP_H
 
 #define TFTP_SESSIONS_MAX 20
 
index cdba3778175ae08fae3f59d2d8899608225d843f..cdc2f8cbe6a2de3c13ee718a7b8f03535da8ed3a 100644 (file)
@@ -17,8 +17,9 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
+
 #ifndef CRISV32_DECODE_H
-#define CRISV32_DECODE_H 1
+#define CRISV32_DECODE_H
 
 /* Convenient binary macros.  */
 #define HEX__(n) 0x##n##LU
index 399c98f2d67e8dbbb079b8c54e38959f03af8c95..6a697561261b63e4efeb1ff7eceaf56591154966 100644 (file)
@@ -41,4 +41,4 @@ typedef struct TriCoreCPUClass {
 
 typedef struct TriCoreCPU TriCoreCPU;
 
-#endif /*QEMU_TRICORE_CPU_QOM_H */
+#endif /* QEMU_TRICORE_CPU_QOM_H */
index 3942f9cccf43b8e9f7d489aafeabb304bf84c89c..868228b2e7443f056ee2fa223a199073f16ae0a9 100644 (file)
  * Therefore, we need both 32 and 64 bit virtual machines (interpreter).
  */
 
-#if !defined(TCG_TARGET_H)
+#ifndef TCG_TARGET_H
 #define TCG_TARGET_H
 
-
 #define TCG_TARGET_INTERPRETER 1
 #define TCG_TARGET_INSN_UNIT_SIZE 1
 #define TCG_TARGET_TLB_DISPLACEMENT_BITS 32
index dcf67f505a11662e34aedcbc53cf2af666c02d45..deacc8f89468746c2532c31ba2bf533ff964e109 100644 (file)
@@ -10,8 +10,6 @@
 #ifndef TRACE__CONTROL_INTERNAL_H
 #define TRACE__CONTROL_INTERNAL_H
 
-
-
 extern TraceEvent trace_events[];
 extern bool trace_events_dstate[];
 extern int trace_events_enabled_count;
@@ -72,4 +70,4 @@ static inline void trace_event_set_state_dynamic(TraceEvent *ev, bool state)
     trace_events_dstate[id] = state;
 }
 
-#endif  /* TRACE__CONTROL_INTERNAL_H */
+#endif /* TRACE__CONTROL_INTERNAL_H */
index a2dd3eaedf14d9eec599b649f1d04696037d4446..452a800eb263dae236710eedacd7557aee4913e3 100644 (file)
@@ -203,4 +203,4 @@ char *trace_opt_parse(const char *optarg);
 
 #include "trace/control-internal.h"
 
-#endif  /* TRACE__CONTROL_H */
+#endif /* TRACE__CONTROL_H */
index 86f6a511be4aced7c71e9410f499e9a89f794b03..e4ea2e78a9cbb29de6a8e3de8bd0824f35006268 100644 (file)
@@ -28,4 +28,4 @@ typedef struct TraceEvent {
 } TraceEvent;
 
 
-#endif  /* TRACE__EVENT_INTERNAL_H */
+#endif /* TRACE__EVENT_INTERNAL_H */
index 92372e3caabd0e1898fade070213f7eb918baa9e..cb5e35d2171d7aaf2d92e4655e62fe578ad58901 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef TRACE_FTRACE_H
 #define TRACE_FTRACE_H
 
-
-
 #define MAX_TRACE_STRLEN 512
 #define _STR(x) #x
 #define STR(x) _STR(x)
@@ -11,4 +9,4 @@ extern int trace_marker_fd;
 
 bool ftrace_init(void);
 
-#endif /* TRACE_FTRACE_H */
+#endif /* TRACE_FTRACE_H */
index a75e0ff7320de98d8c810ee775b4e6c55f71c41b..ddda9342538040c4a7bc388396ef025dd73ae00f 100644 (file)
@@ -43,4 +43,4 @@ static inline uint8_t trace_mem_build_info(
     return res;
 }
 
-#endif  /* TRACE__MEM_INTERNAL_H */
+#endif /* TRACE__MEM_INTERNAL_H */
index c76a572689f3d6c73e985f06f5b7b5e1c3fea139..9c88bcb4e6f0339746d498375b12352ff2c58492 100644 (file)
@@ -31,4 +31,4 @@ static uint8_t trace_mem_build_info(TCGMemOp size, bool sign_extend,
 
 #include "trace/mem-internal.h"
 
-#endif  /* TRACE__MEM_H */
+#endif /* TRACE__MEM_H */
index f7467449b91e8170eb2a9b634399ba541f2ad5dc..e39ef9e718c92e8ed7affbab51540be14c29f6e1 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #ifndef QEMU_CURSES_KEYS_H
-#define QEMU_CURSES_KEYS_H 1
+#define QEMU_CURSES_KEYS_H
 
 #include <curses.h>
 #include "keymaps.h"