Update Gnulib to the latest git version
[deliverable/binutils-gdb.git] / opcodes / s12z-opc.h
index 186a7f29c3f0d3485388b9f6835465461ba7d1d5..6508f712340dc6094ac65534248aaa87bda437c8 100644 (file)
 
 #include <stdbool.h>
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
 /* An abstraction used to read machine code from a source.  */
 struct mem_read_abstraction_base
 {
@@ -34,7 +39,7 @@ struct mem_read_abstraction_base
 /* Machine code operators.
    These *roughly* correspond to opcodes.
    But describe their purpose rather than their form.  */
-enum operator
+enum optr
   {
     OP_INVALID = 0,
 
@@ -259,9 +264,11 @@ struct memory_operand
    It is the responsibility of the caller to free all operands
    when they are no longer needed.
    Returns the number of bytes read.  */
-int decode_s12z (enum operator *myoperator, short *osize,
+int decode_s12z (enum optr *myoperator, short *osize,
                 int *n_operands, struct operand **operands,
                 struct mem_read_abstraction_base *);
-
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* S12Z_OPC_H  */
This page took 0.028282 seconds and 4 git commands to generate.