diff --git a/src/core/cpu_code_cache.cpp b/src/core/cpu_code_cache.cpp index 39ae03825..6f6d3e242 100644 --- a/src/core/cpu_code_cache.cpp +++ b/src/core/cpu_code_cache.cpp @@ -67,8 +67,8 @@ static Block* LookupBlock(u32 pc); static Block* CreateBlock(u32 pc, const BlockInstructionList& instructions, const BlockMetadata& metadata); static bool IsBlockCodeCurrent(const Block* block); static bool RevalidateBlock(Block* block); -PageProtectionMode GetProtectionModeForPC(u32 pc); -PageProtectionMode GetProtectionModeForBlock(const Block* block); +static PageProtectionMode GetProtectionModeForPC(u32 pc); +static PageProtectionMode GetProtectionModeForBlock(const Block* block); static bool ReadBlockInstructions(u32 start_pc, BlockInstructionList* instructions, BlockMetadata* metadata); static void FillBlockRegInfo(Block* block); static void CopyRegInfo(InstructionInfo* dst, const InstructionInfo* src);