From 7dc241a03677a1c6146de9c46488f5419dd92cd8 Mon Sep 17 00:00:00 2001 From: angie Date: Thu, 13 Oct 2022 18:37:27 -0300 Subject: [PATCH] format --- include/instructions/RabbitizerOperandType.h | 2 ++ .../RabbitizerInstruction/RabbitizerInstruction_Disassemble.c | 1 - .../RabbitizerInstructionCpu_OperandType.c | 1 - .../RabbitizerInstructionR5900_OperandType.c | 1 - .../RabbitizerInstructionRsp_OperandType.c | 1 - 5 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/instructions/RabbitizerOperandType.h b/include/instructions/RabbitizerOperandType.h index 91ea6a3..983af84 100644 --- a/include/instructions/RabbitizerOperandType.h +++ b/include/instructions/RabbitizerOperandType.h @@ -5,6 +5,8 @@ #define RABBITIZER_OPERAND_TYPE_H #pragma once +#include + #ifdef __cplusplus extern "C" { #endif diff --git a/src/instructions/RabbitizerInstruction/RabbitizerInstruction_Disassemble.c b/src/instructions/RabbitizerInstruction/RabbitizerInstruction_Disassemble.c index 9f88c68..040e379 100644 --- a/src/instructions/RabbitizerInstruction/RabbitizerInstruction_Disassemble.c +++ b/src/instructions/RabbitizerInstruction/RabbitizerInstruction_Disassemble.c @@ -12,7 +12,6 @@ #include "instructions/RabbitizerRegister.h" #include "instructions/RabbitizerInstrSuffix.h" - #define RAB_DEF_OPERAND(prefix, operand) [RAB_OPERAND_##prefix##_##operand] = RabbitizerOperandType_process_##prefix##_##operand, const OperandCallback instrOpercandCallbacks[] = { diff --git a/src/instructions/RabbitizerInstructionCpu/RabbitizerInstructionCpu_OperandType.c b/src/instructions/RabbitizerInstructionCpu/RabbitizerInstructionCpu_OperandType.c index c6179c0..c65dfed 100644 --- a/src/instructions/RabbitizerInstructionCpu/RabbitizerInstructionCpu_OperandType.c +++ b/src/instructions/RabbitizerInstructionCpu/RabbitizerInstructionCpu_OperandType.c @@ -11,7 +11,6 @@ #include "common/RabbitizerConfig.h" #include "instructions/RabbitizerRegister.h" - size_t RabbitizerOperandType_process_cpu_rs(const RabbitizerInstruction *self, char *dst, UNUSED const char *immOverride, UNUSED size_t immOverrideLength) { size_t totalSize = 0; const char *reg = RabbitizerRegister_getNameGpr(RAB_INSTR_GET_rs(self)); diff --git a/src/instructions/RabbitizerInstructionR5900/RabbitizerInstructionR5900_OperandType.c b/src/instructions/RabbitizerInstructionR5900/RabbitizerInstructionR5900_OperandType.c index df959b3..6ebbacf 100644 --- a/src/instructions/RabbitizerInstructionR5900/RabbitizerInstructionR5900_OperandType.c +++ b/src/instructions/RabbitizerInstructionR5900/RabbitizerInstructionR5900_OperandType.c @@ -11,7 +11,6 @@ #include "common/RabbitizerConfig.h" #include "instructions/RabbitizerRegister.h" - size_t RabbitizerOperandType_process_r5900_I(UNUSED const RabbitizerInstruction *self, char *dst, UNUSED const char *immOverride, UNUSED size_t immOverrideLength) { size_t totalSize = 0; diff --git a/src/instructions/RabbitizerInstructionRsp/RabbitizerInstructionRsp_OperandType.c b/src/instructions/RabbitizerInstructionRsp/RabbitizerInstructionRsp_OperandType.c index 7b1effd..6817eb2 100644 --- a/src/instructions/RabbitizerInstructionRsp/RabbitizerInstructionRsp_OperandType.c +++ b/src/instructions/RabbitizerInstructionRsp/RabbitizerInstructionRsp_OperandType.c @@ -11,7 +11,6 @@ #include "common/RabbitizerConfig.h" #include "instructions/RabbitizerRegister.h" - size_t RabbitizerOperandType_process_rsp_rs(const RabbitizerInstruction *self, char *dst, UNUSED const char *immOverride, UNUSED size_t immOverrideLength) { size_t totalSize = 0; const char *reg = RabbitizerRegister_getNameRspGpr(RAB_INSTR_GET_rs(self));