summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-10-25 16:04:45 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-11-07 14:04:24 +0400
commitce59c54c4927d22e7d564f68f29c697d77ba9b86 (patch)
treeaa4423833f50bb46baa5b0d6a0adfe5ad0b6ce88
parentcca157568615465887a6f741d939865659a559ae (diff)
downloadfocaccia-qemu-ce59c54c4927d22e7d564f68f29c697d77ba9b86.tar.gz
focaccia-qemu-ce59c54c4927d22e7d564f68f29c697d77ba9b86.zip
build-sys: drop needless warning pragmas for old pixman
Since commit 236f282c1c7 ("configure: check for pixman-1 version"), QEMU
requires >= 0.21.8.

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r--include/ui/qemu-pixman.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h
index d37feb5e3c..4bfa8fae0c 100644
--- a/include/ui/qemu-pixman.h
+++ b/include/ui/qemu-pixman.h
@@ -7,11 +7,7 @@
 #define QEMU_PIXMAN_H
 
 #ifdef CONFIG_PIXMAN
-/* pixman-0.16.0 headers have a redundant declaration */
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wredundant-decls"
 #include <pixman.h>
-#pragma GCC diagnostic pop
 #endif
 
 /*