[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4.5 01/29] gdbstub/internals.h: clean up include guard
From: |
Richard Henderson |
Subject: |
[PATCH v4.5 01/29] gdbstub/internals.h: clean up include guard |
Date: |
Thu, 2 Mar 2023 18:57:37 -0800 |
From: Alex Bennée <alex.bennee@linaro.org>
Use something more specific to avoid name clashes.
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302190846.2593720-2-alex.bennee@linaro.org>
---
gdbstub/internals.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdbstub/internals.h b/gdbstub/internals.h
index b23999f951..7df0e11c47 100644
--- a/gdbstub/internals.h
+++ b/gdbstub/internals.h
@@ -6,8 +6,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef _INTERNALS_H_
-#define _INTERNALS_H_
+#ifndef GDBSTUB_INTERNALS_H
+#define GDBSTUB_INTERNALS_H
#include "exec/cpu-common.h"
@@ -16,4 +16,4 @@ int gdb_breakpoint_insert(CPUState *cs, int type, vaddr addr,
vaddr len);
int gdb_breakpoint_remove(CPUState *cs, int type, vaddr addr, vaddr len);
void gdb_breakpoint_remove_all(CPUState *cs);
-#endif /* _INTERNALS_H_ */
+#endif /* GDBSTUB_INTERNALS_H */
--
2.34.1
- [PATCH v4.5 00/29] gdbstub/next: re-organise and split build, Richard Henderson, 2023/03/02
- [PATCH v4.5 01/29] gdbstub/internals.h: clean up include guard,
Richard Henderson <=
- [PATCH v4.5 02/29] gdbstub: fix-up copyright and license files, Richard Henderson, 2023/03/02
- [PATCH v4.5 05/29] gdbstub: define separate user/system structures, Richard Henderson, 2023/03/02
- [PATCH v4.5 06/29] gdbstub: move GDBState to shared internals header, Richard Henderson, 2023/03/02
- [PATCH v4.5 08/29] gdbstub: move fromhex/tohex routines to internals, Richard Henderson, 2023/03/02
- [PATCH v4.5 09/29] gdbstub: make various helpers visible to the rest of the module, Richard Henderson, 2023/03/02
- [PATCH v4.5 10/29] gdbstub: move chunk of softmmu functionality to own file, Richard Henderson, 2023/03/02
- [PATCH v4.5 12/29] gdbstub: rationalise signal mapping in softmmu, Richard Henderson, 2023/03/02
- [PATCH v4.5 11/29] gdbstub: move chunks of user code into own files, Richard Henderson, 2023/03/02
- [PATCH v4.5 03/29] gdbstub: Make syscall_complete/[gs]et_reg target-agnostic typedefs, Richard Henderson, 2023/03/02
- [PATCH v4.5 04/29] gdbstub: clean-up indent on gdb_exit, Richard Henderson, 2023/03/02