Common/ENetUtil: Move interface into Common namespace

Rather than just being under a separate ENetUtil namespace, we can unify
this into the common namespace as Common::ENet.
This commit is contained in:
Lioncash
2023-04-11 09:12:01 -04:00
parent af52b5a2d9
commit 64ce2012e3
4 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#include "Common/CommonTypes.h"
#include "Common/Logging/Log.h"
namespace ENetUtil
namespace Common::ENet
{
void WakeupThread(ENetHost* host)
{
@ -62,4 +62,4 @@ bool SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id)
return true;
}
} // namespace ENetUtil
} // namespace Common::ENet

View File

@ -9,9 +9,9 @@
#include "Common/CommonTypes.h"
namespace ENetUtil
namespace Common::ENet
{
void WakeupThread(ENetHost* host);
int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event);
bool SendPacket(ENetPeer* socket, const sf::Packet& packet, u8 channel_id);
} // namespace ENetUtil
} // namespace Common::ENet