From: Simon Marchi Date: Thu, 24 Apr 2025 19:36:23 +0000 (-0400) Subject: gdbsupport: add missing include guard to remote-args.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=876c853cb99cd9c097fa915c8d00bf6b9d7c5904;p=thirdparty%2Fbinutils-gdb.git gdbsupport: add missing include guard to remote-args.h Also, fix a type in "namespace". Change-Id: I3e5d1d49c765a035217437c0635b12dc28e41bf6 --- 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 */