aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorAhmed Abouzied <email@aabouzied.com>2021-06-05 19:49:38 +0200
committerThomas Huth <thuth@redhat.com>2021-06-21 05:49:01 +0200
commite52ee00dab8678b26a5b7312275daa6ac4899046 (patch)
tree95402eb9c1df3b727c593fd71f5cb779fe624798 /include/qemu
parente2abbeac7a0c19e7757370da4c5164c862016d31 (diff)
downloadqemu-e52ee00dab8678b26a5b7312275daa6ac4899046.zip
qemu-e52ee00dab8678b26a5b7312275daa6ac4899046.tar.gz
qemu-e52ee00dab8678b26a5b7312275daa6ac4899046.tar.bz2
Remove leading underscores from QEMU defines
Leading underscores followed by a capital letter or underscore are reserved by the C standard. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369 Signed-off-by: Ahmed Abouzied <email@aabouzied.com> Message-Id: <20210605174938.13782-1-email@aabouzied.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/plugin-memory.h4
-rw-r--r--include/qemu/selfmap.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/qemu/plugin-memory.h b/include/qemu/plugin-memory.h
index fbbe994..b36def2 100644
--- a/include/qemu/plugin-memory.h
+++ b/include/qemu/plugin-memory.h
@@ -6,8 +6,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef _PLUGIN_MEMORY_H_
-#define _PLUGIN_MEMORY_H_
+#ifndef PLUGIN_MEMORY_H
+#define PLUGIN_MEMORY_H
struct qemu_plugin_hwaddr {
bool is_io;
diff --git a/include/qemu/selfmap.h b/include/qemu/selfmap.h
index 8382c4c..80cf920 100644
--- a/include/qemu/selfmap.h
+++ b/include/qemu/selfmap.h
@@ -6,8 +6,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef _SELFMAP_H_
-#define _SELFMAP_H_
+#ifndef SELFMAP_H
+#define SELFMAP_H
typedef struct {
unsigned long start;