From 876c853cb99cd9c097fa915c8d00bf6b9d7c5904 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 24 Apr 2025 15:36:23 -0400 Subject: [PATCH] gdbsupport: add missing include guard to remote-args.h Also, fix a type in "namespace". Change-Id: I3e5d1d49c765a035217437c0635b12dc28e41bf6 --- gdbsupport/remote-args.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gdbsupport/remote-args.h b/gdbsupport/remote-args.h index 93dbdc6bc96..0533da6e679 100644 --- a/gdbsupport/remote-args.h +++ b/gdbsupport/remote-args.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef GDBSUPPORT_REMOTE_ARGS_H +#define GDBSUPPORT_REMOTE_ARGS_H + /* The functions declared here are used when passing inferior arguments from GDB to gdbserver. @@ -52,4 +55,6 @@ extern std::string join (const std::vector &args); } /* namespace remote_args */ -} /* namespac gdb */ +} /* namespace gdb */ + +#endif /* GDBSUPPORT_REMOTE_ARGS_H */