]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Clean up decorations and whitespace around header guards
authorMarkus Armbruster <armbru@redhat.com>
Fri, 6 May 2022 13:49:11 +0000 (15:49 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 11 May 2022 14:50:32 +0000 (16:50 +0200)
Cleaned up with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220506134911.2856099-5-armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
22 files changed:
bsd-user/arm/target.h
bsd-user/x86_64/target.h
chardev/chardev-internal.h
include/block/block_int-global-state.h
include/exec/translator.h
include/fpu/softfloat-helpers.h
include/hw/gpio/aspeed_gpio.h
include/hw/intc/rx_icu.h
include/hw/misc/aspeed_hace.h
include/hw/misc/aspeed_lpc.h
include/hw/misc/aspeed_sbc.h
include/hw/net/allwinner-sun8i-emac.h
include/hw/rtc/m48t59.h
include/hw/rtc/mc146818rtc.h
include/qemu/plugin-memory.h
include/qemu/selfmap.h
include/user/syscall-trace.h
linux-user/hexagon/target_signal.h
target/avr/cpu.h
target/hexagon/attribs.h
target/xtensa/core-de233_fpu/core-matmap.h
target/xtensa/core-dsp3400/core-matmap.h

index 419c039b68e13ab680a04f65ab461dfb6e1e8759..7c423ec5752d33e165cdc30ae5a36d96ff395467 100644 (file)
@@ -17,5 +17,5 @@ static inline bool regpairs_aligned(void *cpu_env)
     return true;
 }
 
-#endif /* TARGET_H */
+#endif /* TARGET_H */
 
index 8956631db1d51cf5f4a02b1a24c9b4c14d893f2c..0cf0e2a14abaef767befb95e29c26f526342c67d 100644 (file)
@@ -17,5 +17,5 @@ static inline bool regpairs_aligned(void *cpu_env)
     return false;
 }
 
-#endif /* TARGET_H */
+#endif /* TARGET_H */
 
index aba0240759ebf938cf391d89edb88f84f94fa641..4e03af31476cb88cbe699dfafb23522503707002 100644 (file)
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef CHARDEV_INTERNAL_H
 #define CHARDEV_INTERNAL_H
 
@@ -64,4 +65,4 @@ void mux_chr_send_all_event(Chardev *chr, QEMUChrEvent event);
 
 Object *get_chardevs_root(void);
 
-#endif /* CHAR_MUX_H */
+#endif /* CHARDEV_INTERNAL_H */
index 8b2e95f5ff183193aa6b5be23bee2fafe9ea15e1..b49f4eb35bf957abbac04f8a34b62f0678c03b3f 100644 (file)
@@ -21,6 +21,7 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #ifndef BLOCK_INT_GLOBAL_STATE_H
 #define BLOCK_INT_GLOBAL_STATE_H
 
@@ -326,4 +327,4 @@ static inline void assert_bdrv_graph_writable(BlockDriverState *bs)
     assert(qemu_in_main_thread());
 }
 
-#endif /* BLOCK_INT_GLOBAL_STATE */
+#endif /* BLOCK_INT_GLOBAL_STATE_H */
index 31d3fa76ff6e16ebea201719087d0231f3244a29..7db684553564a147781e174a5d98ef7b55911852 100644 (file)
@@ -187,4 +187,4 @@ FOR_EACH_TRANSLATOR_LD(GEN_TRANSLATOR_LD)
 
 #undef GEN_TRANSLATOR_LD
 
-#endif  /* EXEC__TRANSLATOR_H */
+#endif /* EXEC__TRANSLATOR_H */
index a98d759cd3a5117668f2dfb023b8d94816fb5235..94cbe073ec5bb5d0cb3430691b32fe14576843fa 100644 (file)
@@ -141,4 +141,4 @@ static inline bool get_default_nan_mode(float_status *status)
     return status->default_nan_mode;
 }
 
-#endif /* _SOFTFLOAT_HELPERS_H_ */
+#endif /* SOFTFLOAT_HELPERS_H */
index 801846befb3b6f7ef9e98dc422efc273699094de..6dee3cd438932eb1a686cec76162676b9402f3dc 100644 (file)
@@ -93,4 +93,4 @@ struct AspeedGPIOState {
     } sets[ASPEED_GPIO_MAX_NR_SETS];
 };
 
-#endif /* _ASPEED_GPIO_H_ */
+#endif /* ASPEED_GPIO_H */
index 7f5889b36f45ccf603a150513252d6a076124324..b23504f3dd19ee9935647c6055a98c812b5a191d 100644 (file)
@@ -73,4 +73,4 @@ struct RXICUState {
 #define TYPE_RX_ICU "rx-icu"
 OBJECT_DECLARE_SIMPLE_TYPE(RXICUState, RX_ICU)
 
-#endif /* RX_ICU_H */
+#endif /* HW_INTC_RX_ICU_H */
index 4f9ce179bf7b0561ea895b7528db82ef6b306a62..ecb1b67de816cc1cb4f5645a29c4d41174bfa5e0 100644 (file)
@@ -47,4 +47,4 @@ struct AspeedHACEClass {
     uint32_t hash_mask;
 };
 
-#endif /* _ASPEED_HACE_H_ */
+#endif /* ASPEED_HACE_H */
index df418cfcd36cbe3994de9964f8f92b9fb39e80ee..fd228731d2ff020bdd3180aa52829aefebed51e0 100644 (file)
@@ -44,4 +44,4 @@ typedef struct AspeedLPCState {
     uint32_t hicr7;
 } AspeedLPCState;
 
-#endif /* _ASPEED_LPC_H_ */
+#endif /* ASPEED_LPC_H */
index 651747e28f3abf00bff1d58b6f005ba0738a5595..67e43b53ecc3199a226796f9e578cf579d6e328a 100644 (file)
@@ -29,4 +29,4 @@ struct AspeedSBCClass {
     SysBusDeviceClass parent_class;
 };
 
-#endif /* _ASPEED_SBC_H_ */
+#endif /* ASPEED_SBC_H */
index 460a58f1ca7aa7b184c7b4a7c6a294fb0ac4b355..185895f4e131ebca3025e986d31d2a0042c987e7 100644 (file)
@@ -101,4 +101,4 @@ struct AwSun8iEmacState {
 
 };
 
-#endif /* HW_NET_ALLWINNER_SUN8I_H */
+#endif /* HW_NET_ALLWINNER_SUN8I_EMAC_H */
index d9b45eb16128aa3067805c6d6d1cdc460fc665d8..c14937476c1c41ca00174d52d6fba61893aedb1d 100644 (file)
@@ -47,4 +47,4 @@ struct NvramClass {
     void (*toggle_lock)(Nvram *obj, int lock);
 };
 
-#endif /* HW_M48T59_H */
+#endif /* HW_RTC_M48T59_H */
index deef93f89a328154f4782e65304853fa4c6df1e4..33d85753c056810dd8b189fce8b9a2e880449949 100644 (file)
@@ -56,4 +56,4 @@ ISADevice *mc146818_rtc_init(ISABus *bus, int base_year,
 void rtc_set_memory(ISADevice *dev, int addr, int val);
 int rtc_get_memory(ISADevice *dev, int addr);
 
-#endif /* MC146818RTC_H */
+#endif /* HW_RTC_MC146818RTC_H */
index 0f592267279da874653308e15a4105442b4cf698..8ad13c110c7341375b99e420fc8384c5cd9b02a9 100644 (file)
@@ -37,4 +37,4 @@ struct qemu_plugin_hwaddr {
 bool tlb_plugin_lookup(CPUState *cpu, target_ulong addr, int mmu_idx,
                        bool is_store, struct qemu_plugin_hwaddr *data);
 
-#endif /* _PLUGIN_MEMORY_H_ */
+#endif /* PLUGIN_MEMORY_H */
index 80cf920fbadbe2ed5f19ad5cc08f50f60df38da9..3479a2a61862d591f4e631ff653aadc97463e10b 100644 (file)
@@ -41,4 +41,4 @@ GSList *read_self_maps(void);
  */
 void free_self_maps(GSList *info);
 
-#endif /* _SELFMAP_H_ */
+#endif /* SELFMAP_H */
index 614cfacfa5806a303802c93f74c021688693f32d..b4e53d3870976337a9e65394169f4b4a7f4bb26a 100644 (file)
@@ -39,4 +39,4 @@ static inline void record_syscall_return(void *cpu, int num, abi_long ret)
 }
 
 
-#endif /* _SYSCALL_TRACE_H_ */
+#endif /* SYSCALL_TRACE_H */
index 193abac340c5441bd61e18ab98f0fbb4a52640e0..68fb71312ee21d4f65a5811d668cfd126aafdab8 100644 (file)
@@ -22,4 +22,4 @@
 
 #define TARGET_ARCH_HAS_SIGTRAMP_PAGE 1
 
-#endif /* TARGET_SIGNAL_H */
+#endif /* HEXAGON_TARGET_SIGNAL_H */
index 55497f851dc8784e194043ce246ef52dcc0090c5..d304f33301b02326e4d24e4cd280df8eb2e38503 100644 (file)
@@ -247,4 +247,4 @@ bool avr_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
 
 #include "exec/cpu-all.h"
 
-#endif /* !defined (QEMU_AVR_CPU_H) */
+#endif /* QEMU_AVR_CPU_H */
index 54576f4143b6bea16808da80ad3af9169f1aa18b..d51bb4f7325cb04647578889663578eec1912ce5 100644 (file)
@@ -32,4 +32,4 @@ extern DECLARE_BITMAP(opcode_attribs[XX_LAST_OPCODE], A_ZZ_LASTATTRIB);
 #define GET_ATTRIB(opcode, attrib) \
     test_bit(attrib, opcode_attribs[opcode])
 
-#endif /* ATTRIBS_H */
+#endif /* HEXAGON_ATTRIBS_H */
index cca51c7af1b50b5915fda3ab8320e355cd139843..e99e7d31233131fddf401c00b8cba9ee2638c04f 100644 (file)
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 
-
 #ifndef XTENSA_CONFIG_CORE_MATMAP_H
 #define XTENSA_CONFIG_CORE_MATMAP_H
 
-
 /*----------------------------------------------------------------------
                        CACHE (MEMORY ACCESS) ATTRIBUTES
   ----------------------------------------------------------------------*/
 
 
 
-#endif /*XTENSA_CONFIG_CORE_MATMAP_H*/
+#endif /* XTENSA_CONFIG_CORE_MATMAP_H */
 
index 8d1aa8336ec68b847c03526250ba85cf1665e114..692012f9f4a0ed37bbcd9700de42ca40d61ebb34 100644 (file)
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
 
-
 #ifndef XTENSA_CONFIG_CORE_MATMAP_H
 #define XTENSA_CONFIG_CORE_MATMAP_H
 
-
 /*----------------------------------------------------------------------
                        CACHE (MEMORY ACCESS) ATTRIBUTES
   ----------------------------------------------------------------------*/
 
 
 
-#endif /*XTENSA_CONFIG_CORE_MATMAP_H*/
+#endif /* XTENSA_CONFIG_CORE_MATMAP_H */