Kernel: Move all code into the Kernel namespace

This commit is contained in:
Andreas Kling 2020-02-16 01:27:42 +01:00
commit a356e48150
Notes: sideshowbarker 2024-07-19 09:17:31 +09:00
201 changed files with 907 additions and 111 deletions

View file

@ -35,6 +35,8 @@
//#define SOCKET_DEBUG
namespace Kernel {
KResultOr<NonnullRefPtr<Socket>> Socket::create(int domain, int type, int protocol)
{
switch (domain) {
@ -175,3 +177,5 @@ KResult Socket::shutdown(int how)
m_shut_down_for_writing |= (how & SHUT_WR) != 0;
return KSuccess;
}
}