[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 01/10] gdbstub/internals.h: clean up include guard
From: |
Alex Bennée |
Subject: |
[PATCH v1 01/10] gdbstub/internals.h: clean up include guard |
Date: |
Fri, 16 Dec 2022 11:21:57 +0000 |
Use something more specific to avoid name clashes.
Signed-off-by: Alex Bennée <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 eabb0341d1..b444f24ef5 100644
--- a/gdbstub/internals.h
+++ b/gdbstub/internals.h
@@ -6,12 +6,12 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef _INTERNALS_H_
-#define _INTERNALS_H_
+#ifndef GDBSTUB_INTERNALS_H
+#define GDBSTUB_INTERNALS_H
bool gdb_supports_guest_debug(void);
int gdb_breakpoint_insert(CPUState *cs, int type, hwaddr addr, hwaddr len);
int gdb_breakpoint_remove(CPUState *cs, int type, hwaddr addr, hwaddr len);
void gdb_breakpoint_remove_all(CPUState *cs);
-#endif /* _INTERNALS_H_ */
+#endif /* GDBSTUB_INTERNALS_H */
--
2.34.1
- [PATCH v1 00/10] split user and system code in gdbstub, Alex Bennée, 2022/12/16
- [PATCH v1 02/10] gdbstub: fix-up copyright and license files, Alex Bennée, 2022/12/16
- [PATCH v1 01/10] gdbstub/internals.h: clean up include guard,
Alex Bennée <=
- [PATCH v1 03/10] gdbstub: Make syscall_complete/[gs]et_reg target-agnostic typedefs, Alex Bennée, 2022/12/16
- [PATCH v1 07/10] includes: add new gdbstub include directory, Alex Bennée, 2022/12/16
- [PATCH v1 05/10] gdbstub: move GDBState to shared internals header, Alex Bennée, 2022/12/16
- [PATCH v1 06/10] includes: move tb_flush into its own header, Alex Bennée, 2022/12/16
- [PATCH v1 04/10] gdbstub: split GDBConnection from main structure, Alex Bennée, 2022/12/16