diff options
author | Lioncash <mathew1800@gmail.com> | 2016-05-10 09:17:07 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-05-10 09:17:07 -0400 |
commit | 0a52e1f587b899a759309ecb2f3f3f794a25a752 (patch) | |
tree | 572a1f29b75aea1ca92718ac05d0c3c4e0bf2429 /src/core/gdbstub/gdbstub.cpp | |
parent | 006fe5fc0f04b36d7f2895c8f9ff2796c44d8846 (diff) |
gdbstub: Silence missing prototype warnings
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
-rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index 1360ee845f..820b19e1ac 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -437,7 +437,7 @@ static void HandleSetThread() { * * @param signal Signal to be sent to client. */ -void SendSignal(u32 signal) { +static void SendSignal(u32 signal) { if (gdbserver_socket == -1) { return; } @@ -713,7 +713,7 @@ static void Continue() { * @param addr Address of breakpoint. * @param len Length of breakpoint. */ -bool CommitBreakpoint(BreakpointType type, PAddr addr, u32 len) { +static bool CommitBreakpoint(BreakpointType type, PAddr addr, u32 len) { std::map<u32, Breakpoint>& p = GetBreakpointList(type); Breakpoint breakpoint; @@ -907,7 +907,7 @@ void ToggleServer(bool status) { } } -void Init(u16 port) { +static void Init(u16 port) { if (!g_server_enabled) { // Set the halt loop to false in case the user enabled the gdbstub mid-execution. // This way the CPU can still execute normally. |