aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s12z-opc.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/s12z-opc.h')
-rw-r--r--opcodes/s12z-opc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/s12z-opc.h b/opcodes/s12z-opc.h
index 186a7f2..04e1559 100644
--- a/opcodes/s12z-opc.h
+++ b/opcodes/s12z-opc.h
@@ -34,7 +34,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,7 +259,7 @@ 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 *);