소스 검색

ptm_sysm: Add static specifier to IsLegacyPowerOff

Lioncash 11 년 전
부모
커밋
1baab50e7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/hle/service/ptm/ptm_sysm.cpp

+ 1 - 1
src/core/hle/service/ptm/ptm_sysm.cpp

@@ -16,7 +16,7 @@ namespace PTM {
  *     1: Result code, 0 on success, otherwise error code
  *     2: Whether the system is going through a power off
  */
-void IsLegacyPowerOff(Service::Interface* self) {
+static void IsLegacyPowerOff(Service::Interface* self) {
     u32* cmd_buff = Kernel::GetCommandBuffer();
     cmd_buff[1] = RESULT_SUCCESS.raw;
     cmd_buff[2] = 0;