summaryrefslogtreecommitdiffstats
path: root/scripts/cocci-macro-file.h
diff options
context:
space:
mode:
authorMarc-André Lureau2020-12-10 14:47:52 +0100
committerPaolo Bonzini2020-12-15 18:53:15 +0100
commit07b35a23c3ccecde85e80fd9981abf2e15c1384b (patch)
tree6ca3dfaeb00af4ef4950b8924510afc197e4111c /scripts/cocci-macro-file.h
parentlinux-user: remove GNUC check (diff)
downloadqemu-07b35a23c3ccecde85e80fd9981abf2e15c1384b.tar.gz
qemu-07b35a23c3ccecde85e80fd9981abf2e15c1384b.tar.xz
qemu-07b35a23c3ccecde85e80fd9981abf2e15c1384b.zip
compiler.h: remove QEMU_GNUC_PREREQ
When needed, the G_GNUC_CHECK_VERSION() glib macro can be used instead. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20201210134752.780923-14-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/cocci-macro-file.h')
-rw-r--r--scripts/cocci-macro-file.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/cocci-macro-file.h b/scripts/cocci-macro-file.h
index c6bbc05ba3..20eea6b708 100644
--- a/scripts/cocci-macro-file.h
+++ b/scripts/cocci-macro-file.h
@@ -19,7 +19,6 @@
*/
/* From qemu/compiler.h */
-#define QEMU_GNUC_PREREQ(maj, min) 1
#define QEMU_NORETURN __attribute__ ((__noreturn__))
#define QEMU_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#define QEMU_SENTINEL __attribute__((sentinel))