Skip to content

Commit

Permalink
Remove extern C from internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 committed Apr 2, 2024
1 parent bd8cb86 commit 669b209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/graphic/Fast3D/gfx_pc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3654,7 +3654,7 @@ const static std::array<const std::unordered_map<uint32_t, GfxOpcodeHandlerFunc>

// 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;
}

Expand Down
2 changes: 0 additions & 2 deletions src/public/bridge/gfxbridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ typedef enum UcodeHandlers {
ucode_max,
} UcodeHandlers;

void gfx_set_ucode_handler(UcodeHandlers ucode);

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 669b209

Please sign in to comment.