aboutsummaryrefslogtreecommitdiff
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/qtest/fuzz/qos_fuzz.h4
-rw-r--r--tests/tcg/minilib/minilib.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/qtest/fuzz/qos_fuzz.h b/tests/qtest/fuzz/qos_fuzz.h
index 477f11b..63d8459 100644
--- a/tests/qtest/fuzz/qos_fuzz.h
+++ b/tests/qtest/fuzz/qos_fuzz.h
@@ -10,8 +10,8 @@
* See the COPYING file in the top-level directory.
*/
-#ifndef _QOS_FUZZ_H_
-#define _QOS_FUZZ_H_
+#ifndef QOS_FUZZ_H
+#define QOS_FUZZ_H
#include "tests/qtest/fuzz/fuzz.h"
#include "tests/qtest/libqos/qgraph.h"
diff --git a/tests/tcg/minilib/minilib.h b/tests/tcg/minilib/minilib.h
index e233613..17d0f2f 100644
--- a/tests/tcg/minilib/minilib.h
+++ b/tests/tcg/minilib/minilib.h
@@ -9,8 +9,8 @@
* SPDX-License-Identifier: GPL-2.0-only
*/
-#ifndef _MINILIB_H_
-#define _MINILIB_H_
+#ifndef MINILIB_H
+#define MINILIB_H
/*
* Provided by the individual arch