diff --git a/src/graphic/Fast3D/gfx_pc.cpp b/src/graphic/Fast3D/gfx_pc.cpp index 19f05832e..96e135376 100644 --- a/src/graphic/Fast3D/gfx_pc.cpp +++ b/src/graphic/Fast3D/gfx_pc.cpp @@ -3654,7 +3654,7 @@ const static std::array // TODO, implement a system where we can get the current opcode handler by writing to the GWords. If the powers that be // are OK with that... -extern "C" void gfx_set_ucode_handler(UcodeHandlers ucode) { +static void gfx_set_ucode_handler(UcodeHandlers ucode) { ucode_handler_index = ucode; } diff --git a/src/public/bridge/gfxbridge.h b/src/public/bridge/gfxbridge.h index f7dc2f5e6..864b4fe81 100644 --- a/src/public/bridge/gfxbridge.h +++ b/src/public/bridge/gfxbridge.h @@ -11,8 +11,6 @@ typedef enum UcodeHandlers { ucode_max, } UcodeHandlers; -void gfx_set_ucode_handler(UcodeHandlers ucode); - #ifdef __cplusplus } #endif