Namespace the reg class to avoid clashes with OS headers
[deliverable/binutils-gdb.git] / gdb / regformats / regdef.h
index df9c5e402825a9c85bb173659181f37a752d7840..ed9aeb7af4b8232b8c7de1a8ba1c830ab7922b7a 100644 (file)
@@ -1,5 +1,5 @@
 /* Register protocol definition structures for the GNU Debugger
-   Copyright (C) 2001-2019 Free Software Foundation, Inc.
+   Copyright (C) 2001-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -19,6 +19,8 @@
 #ifndef REGFORMATS_REGDEF_H
 #define REGFORMATS_REGDEF_H
 
+namespace gdb {
+
 struct reg
 {
   reg (int _offset)
@@ -60,4 +62,6 @@ struct reg
   }
 };
 
+} /* namespace gdb */
+
 #endif /* REGFORMATS_REGDEF_H */
This page took 0.024129 seconds and 4 git commands to generate.