mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 04:37:57 -05:00
core: Mark some hle functions as static
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
This commit is contained in:
@ -13,7 +13,7 @@ namespace SRV {
|
||||
|
||||
Handle g_event_handle = 0;
|
||||
|
||||
void Initialize(Service::Interface* self) {
|
||||
static void Initialize(Service::Interface* self) {
|
||||
DEBUG_LOG(OSHLE, "called");
|
||||
|
||||
u32* cmd_buff = Service::GetCommandBuffer();
|
||||
@ -21,7 +21,7 @@ void Initialize(Service::Interface* self) {
|
||||
cmd_buff[1] = 0; // No error
|
||||
}
|
||||
|
||||
void GetProcSemaphore(Service::Interface* self) {
|
||||
static void GetProcSemaphore(Service::Interface* self) {
|
||||
DEBUG_LOG(OSHLE, "called");
|
||||
|
||||
u32* cmd_buff = Service::GetCommandBuffer();
|
||||
@ -34,7 +34,7 @@ void GetProcSemaphore(Service::Interface* self) {
|
||||
cmd_buff[3] = g_event_handle;
|
||||
}
|
||||
|
||||
void GetServiceHandle(Service::Interface* self) {
|
||||
static void GetServiceHandle(Service::Interface* self) {
|
||||
Result res = 0;
|
||||
u32* cmd_buff = Service::GetCommandBuffer();
|
||||
|
||||
|
Reference in New Issue
Block a user