aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2025-04-24 15:36:23 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2025-04-24 15:36:23 -0400
commit876c853cb99cd9c097fa915c8d00bf6b9d7c5904 (patch)
tree7d93b8fee7d4b5d748cd123381ac8b609293675e
parent745cf6b7862d1bbf256a3d8b68d4942a13118c38 (diff)
downloadbinutils-876c853cb99cd9c097fa915c8d00bf6b9d7c5904.zip
binutils-876c853cb99cd9c097fa915c8d00bf6b9d7c5904.tar.gz
binutils-876c853cb99cd9c097fa915c8d00bf6b9d7c5904.tar.bz2
gdbsupport: add missing include guard to remote-args.h
Also, fix a type in "namespace". Change-Id: I3e5d1d49c765a035217437c0635b12dc28e41bf6
-rw-r--r--gdbsupport/remote-args.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdbsupport/remote-args.h b/gdbsupport/remote-args.h
index 93dbdc6..0533da6 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 <http://www.gnu.org/licenses/>. */
+#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<char *> &args);
} /* namespace remote_args */
-} /* namespac gdb */
+} /* namespace gdb */
+
+#endif /* GDBSUPPORT_REMOTE_ARGS_H */