[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 09/12] Clean up a header guard symbols (again)
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PULL 09/12] Clean up a header guard symbols (again) |
Date: |
Fri, 7 Jun 2019 17:26:43 +0200 |
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 <address@hidden>
Message-Id: <address@hidden>
---
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
- [Qemu-devel] [PULL 00/12] Miscellaneous patches for 2019-06-07, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 01/12] qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 07/12] Clean up a few header guard symbols, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 12/12] MAINTAINERS: Polish headline decorations, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 02/12] qemu-common: Move qemu_isalnum() etc. to qemu/ctype.h, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 10/12] MAINTAINERS: Remove duplicate entries of address@hidden, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 05/12] Normalize position of header guard, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 06/12] scripts/clean-header-guards: Fix handling of trailing comments, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 11/12] MAINTAINERS: Improve section headlines, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 09/12] Clean up a header guard symbols (again),
Markus Armbruster <=
- [Qemu-devel] [PULL 04/12] Include qemu-common.h exactly where needed, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 08/12] Supply missing header guards, Markus Armbruster, 2019/06/07
- [Qemu-devel] [PULL 03/12] Include qemu/module.h where needed, drop it from qemu-common.h, Markus Armbruster, 2019/06/07
- Re: [Qemu-devel] [PULL 00/12] Miscellaneous patches for 2019-06-07, Peter Maydell, 2019/06/10