[qfcc] Mark opcode_get as pure

Because gcc told me to :P
This commit is contained in:
Bill Currie 2022-01-08 12:14:27 +09:00
parent da210db720
commit cf8061c4d3

View file

@ -36,7 +36,7 @@
typedef struct instruction_s instruction_t; typedef struct instruction_s instruction_t;
struct operand_s; struct operand_s;
pr_ushort_t opcode_get (instruction_t *inst); pr_ushort_t opcode_get (instruction_t *inst) __attribute__((pure));
instruction_t *opcode_find (const char *name, struct operand_s *op_a, instruction_t *opcode_find (const char *name, struct operand_s *op_a,
struct operand_s *op_b, struct operand_s *op_c); struct operand_s *op_b, struct operand_s *op_c);
void opcode_init (void); void opcode_init (void);