From ad672054ecfe46d31486d3414d6101f9950c0fa9 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 8 Aug 2023 21:10:56 +0200 Subject: [PATCH] Some missing extern's in cpu/x86_ops.h. --- src/cpu/x86_ops.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/cpu/x86_ops.h b/src/cpu/x86_ops.h index 15dc66960..ee3618d52 100644 --- a/src/cpu/x86_ops.h +++ b/src/cpu/x86_ops.h @@ -44,9 +44,9 @@ typedef int (*OpFn)(uint32_t fetchdat); #ifdef USE_DYNAREC -void x86_setopcodes(const OpFn *opcodes, const OpFn *opcodes_0f, - const OpFn *dynarec_opcodes, - const OpFn *dynarec_opcodes_0f); +extern void x86_setopcodes(const OpFn *opcodes, const OpFn *opcodes_0f, + const OpFn *dynarec_opcodes, + const OpFn *dynarec_opcodes_0f); extern const OpFn *x86_dynarec_opcodes; extern const OpFn *x86_dynarec_opcodes_0f; @@ -187,7 +187,7 @@ extern const OpFn dynarec_ops_REPNE[1024]; extern const OpFn dynarec_ops_3DNOW[256]; extern const OpFn dynarec_ops_3DNOWE[256]; #else -void x86_setopcodes(const OpFn *opcodes, const OpFn *opcodes_0f); +extern void x86_setopcodes(const OpFn *opcodes, const OpFn *opcodes_0f); #endif @@ -331,7 +331,7 @@ extern const OpFn ops_3DNOW[256]; extern const OpFn ops_3DNOWE[256]; -void x86_setopcodes_2386(const OpFn *opcodes, const OpFn *opcodes_0f); +extern void x86_setopcodes_2386(const OpFn *opcodes, const OpFn *opcodes_0f); extern const OpFn *x86_2386_opcodes; extern const OpFn *x86_2386_opcodes_0f; @@ -354,6 +354,9 @@ extern const OpFn *x86_2386_opcodes_df_a32; extern const OpFn *x86_2386_opcodes_REPE; extern const OpFn *x86_2386_opcodes_REPNE; +extern const OpFn ops_2386_186[1024]; +extern const OpFn ops_2386_186_0f[1024]; + extern const OpFn ops_2386_286[1024]; extern const OpFn ops_2386_286_0f[1024];