]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/hw.h
Replace GCC_FMT_ATTR with G_GNUC_PRINTF
[mirror_qemu.git] / include / hw / hw.h
index af9eae11c51667c71bf9ec740bc7f9311d1f9061..34377f5309d3d0ceaf866e650f3de5490d1b254e 100644 (file)
@@ -1,4 +1,3 @@
-/* Declarations for use by hardware emulation.  */
 #ifndef QEMU_HW_H
 #define QEMU_HW_H
 
@@ -6,15 +5,6 @@
 #error Cannot include hw/hw.h from user emulation
 #endif
 
-#include "exec/cpu-common.h"
-#include "qom/object.h"
-#include "exec/memory.h"
-#include "hw/irq.h"
-#include "migration/vmstate.h"
-#include "migration/qemu-file.h"
-#include "qemu/module.h"
-#include "sysemu/reset.h"
-
-void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
+void QEMU_NORETURN hw_error(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
 
 #endif