]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbsupport: add missing include guard to remote-args.h
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 24 Apr 2025 19:36:23 +0000 (15:36 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 24 Apr 2025 19:36:23 +0000 (15:36 -0400)
Also, fix a type in "namespace".

Change-Id: I3e5d1d49c765a035217437c0635b12dc28e41bf6

gdbsupport/remote-args.h

index 93dbdc6bc96ccaac21d9d55e8d6cbba46eb3a5d1..0533da6e67981884cd898805d7144ffdc4ede7f6 100644 (file)
@@ -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 */