[PATCH v2 02/11] include/gdbstub: fix include guard in commands.h

Alex Bennée posted 11 patches 1 week ago
[PATCH v2 02/11] include/gdbstub: fix include guard in commands.h
Posted by Alex Bennée 1 week ago
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 include/gdbstub/commands.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/gdbstub/commands.h b/include/gdbstub/commands.h
index 40f0514fe9..bff3674872 100644
--- a/include/gdbstub/commands.h
+++ b/include/gdbstub/commands.h
@@ -1,5 +1,5 @@
 #ifndef GDBSTUB_COMMANDS_H
-#define GDBSTUB
+#define GDBSTUB_COMMANDS_H
 
 typedef void (*GdbCmdHandler)(GArray *params, void *user_ctx);
 
-- 
2.39.5


Re: [PATCH v2 02/11] include/gdbstub: fix include guard in commands.h
Posted by Pierrick Bouvier 1 week ago
On 3/24/25 03:21, Alex Bennée wrote:
> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   include/gdbstub/commands.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/gdbstub/commands.h b/include/gdbstub/commands.h
> index 40f0514fe9..bff3674872 100644
> --- a/include/gdbstub/commands.h
> +++ b/include/gdbstub/commands.h
> @@ -1,5 +1,5 @@
>   #ifndef GDBSTUB_COMMANDS_H
> -#define GDBSTUB
> +#define GDBSTUB_COMMANDS_H
>   
>   typedef void (*GdbCmdHandler)(GArray *params, void *user_ctx);
>   

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>