From: Markus Armbruster <armbru@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 5/4] Clean up a header guard symbols (again)
Date: Fri, 7 Jun 2019 16:13:21 +0200 [thread overview]
Message-ID: <20190607141321.9726-1-armbru@redhat.com> (raw)
In-Reply-To: <20190604181618.19980-1-armbru@redhat.com>
Commit d52c454aad "contrib: add vhost-user-gpu" and "c68082c43a
virtio-gpu: split virtio-gpu-pci & virtio-vga" created headers with
unusual header guard symbols. Clean them up
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
contrib/vhost-user-gpu/virgl.h | 5 +++--
contrib/vhost-user-gpu/vugbm.h | 5 +++--
contrib/vhost-user-gpu/vugpu.h | 5 +++--
hw/display/virtio-vga.h | 6 +++---
4 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/contrib/vhost-user-gpu/virgl.h b/contrib/vhost-user-gpu/virgl.h
index f952bc9d4f..17078783a5 100644
--- a/contrib/vhost-user-gpu/virgl.h
+++ b/contrib/vhost-user-gpu/virgl.h
@@ -11,8 +11,9 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
-#ifndef VUGPU_VIRGL_H_
-#define VUGPU_VIRGL_H_
+
+#ifndef VUGPU_VIRGL_H
+#define VUGPU_VIRGL_H
#include "vugpu.h"
diff --git a/contrib/vhost-user-gpu/vugbm.h b/contrib/vhost-user-gpu/vugbm.h
index c0bf27af9b..07e698fcd7 100644
--- a/contrib/vhost-user-gpu/vugbm.h
+++ b/contrib/vhost-user-gpu/vugbm.h
@@ -6,8 +6,9 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
-#ifndef VHOST_USER_GPU_GBM_H
-#define VHOST_USER_GPU_GBM_H
+
+#ifndef VHOST_USER_GPU_VUGBM_H
+#define VHOST_USER_GPU_VUGBM_H
#include "qemu/osdep.h"
diff --git a/contrib/vhost-user-gpu/vugpu.h b/contrib/vhost-user-gpu/vugpu.h
index 458e92a1b3..3153c9a6de 100644
--- a/contrib/vhost-user-gpu/vugpu.h
+++ b/contrib/vhost-user-gpu/vugpu.h
@@ -11,8 +11,9 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
-#ifndef VUGPU_H_
-#define VUGPU_H_
+
+#ifndef VUGPU_H
+#define VUGPU_H
#include "qemu/osdep.h"
diff --git a/hw/display/virtio-vga.h b/hw/display/virtio-vga.h
index c10bf390aa..c41281a010 100644
--- a/hw/display/virtio-vga.h
+++ b/hw/display/virtio-vga.h
@@ -1,5 +1,5 @@
-#ifndef VIRTIO_VGA_H_
-#define VIRTIO_VGA_H_
+#ifndef VIRTIO_VGA_H
+#define VIRTIO_VGA_H
#include "hw/virtio/virtio-gpu-pci.h"
#include "vga_int.h"
@@ -29,4 +29,4 @@ typedef struct VirtIOVGABaseClass {
DeviceReset parent_reset;
} VirtIOVGABaseClass;
-#endif /* VIRTIO_VGA_H_ */
+#endif /* VIRTIO_VGA_H */
--
2.21.0
next prev parent reply other threads:[~2019-06-07 14:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 18:16 [Qemu-devel] [PATCH 0/4] Header guards Markus Armbruster
2019-06-04 18:16 ` [Qemu-devel] [PATCH 1/4] Normalize position of header guard Markus Armbruster
2019-06-04 18:16 ` [Qemu-devel] [PATCH 2/4] scripts/clean-header-guards: Fix handling of trailing comments Markus Armbruster
2019-06-04 18:16 ` [Qemu-devel] [PATCH 3/4] Clean up a few header guard symbols Markus Armbruster
2019-06-05 8:40 ` Philippe Mathieu-Daudé
2019-06-04 18:16 ` [Qemu-devel] [PATCH 4/4] Supply missing header guards Markus Armbruster
2019-06-07 14:13 ` Markus Armbruster [this message]
2019-06-07 15:22 ` [Qemu-devel] [PATCH 0/4] Header guards Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190607141321.9726-1-armbru@redhat.com \
--to=armbru@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).