Browse Source

device: cleanup

Daniele Bartolini 5 years ago
parent
commit
742f67b3ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/device/console_server.cpp

+ 2 - 2
src/device/console_server.cpp

@@ -39,7 +39,7 @@ static void console_server_command(ConsoleServer& cs, TCPSocket& client, const c
 
 namespace console_server_internal
 {
-	u32 add_client(ConsoleServer& cs, TCPSocket& socket)
+	static u32 add_client(ConsoleServer& cs, TCPSocket& socket)
 	{
 		const u32 id = cs._next_client_id++;
 
@@ -51,7 +51,7 @@ namespace console_server_internal
 		return id;
 	}
 
-	void remove_client(ConsoleServer& cs, u32 id)
+	static void remove_client(ConsoleServer& cs, u32 id)
 	{
 		const u32 last = vector::size(cs._clients) - 1;