diff options
author | 2014-11-16 22:58:39 -0500 | |
---|---|---|
committer | 2014-11-17 22:41:49 -0500 | |
commit | 72846c418e59771cd63cb21067f0c3e4e58b16f0 (patch) | |
tree | b9d4c36dce32830efd873ccacd25864d22f0e655 /src/core/hle/service/hid_user.cpp | |
parent | b66859714bda5968e36fed47a2ff8516bcfd2248 (diff) |
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.
Diffstat (limited to 'src/core/hle/service/hid_user.cpp')
-rw-r--r-- | src/core/hle/service/hid_user.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid_user.cpp b/src/core/hle/service/hid_user.cpp index 0eb32ba4..5f6bf1ef 100644 --- a/src/core/hle/service/hid_user.cpp +++ b/src/core/hle/service/hid_user.cpp @@ -47,7 +47,7 @@ static inline PadData* GetPadData() { * * Indicate the circle pad is pushed completely to the edge in 1 of 8 directions. */ -void UpdateNextCirclePadState() { +static void UpdateNextCirclePadState() { static const s16 max_value = 0x9C; next_circle_x = next_state.circle_left ? -max_value : 0x0; next_circle_x += next_state.circle_right ? max_value : 0x0; @@ -155,7 +155,7 @@ void PadUpdateComplete() { * 7 : Gyroscope event * 8 : Event signaled by HID_User */ -void GetIPCHandles(Service::Interface* self) { +static void GetIPCHandles(Service::Interface* self) { u32* cmd_buff = Service::GetCommandBuffer(); cmd_buff[1] = 0; // No error |