aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cris-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/cris-opc.h')
-rw-r--r--opcodes/cris-opc.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/opcodes/cris-opc.h b/opcodes/cris-opc.h
index 4e297a6..d7ed8dc 100644
--- a/opcodes/cris-opc.h
+++ b/opcodes/cris-opc.h
@@ -2,7 +2,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996-2021 Free Software Foundation, Inc.
+Copyright (C) 1996-2021 Free Software Foundation, Inc.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
@@ -17,13 +17,18 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger.
License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, see <http://www.gnu.org/licenses/>.
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef CRIS_OPC_H
#define CRIS_OPC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Enum declaration for cris instruction types. */
typedef enum cgen_insn_type {
CRIS_INSN_INVALID, CRIS_INSN_NOP, CRIS_INSN_MOVE_B_R, CRIS_INSN_MOVE_W_R
@@ -151,4 +156,8 @@ struct cgen_fields
}
+ #ifdef __cplusplus
+ }
+ #endif
+
#endif /* CRIS_OPC_H */