mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
Kernel: Move all code into the Kernel namespace
This commit is contained in:
parent
d42f0f4661
commit
a356e48150
201 changed files with 907 additions and 111 deletions
|
@ -32,6 +32,8 @@
|
|||
#include <Kernel/Process.h>
|
||||
#include <Kernel/Random.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
void UDPSocket::for_each(Function<void(UDPSocket&)> callback)
|
||||
{
|
||||
LOCKER(sockets_by_port().lock());
|
||||
|
@ -147,3 +149,5 @@ KResult UDPSocket::protocol_bind()
|
|||
sockets_by_port().resource().set(local_port(), this);
|
||||
return KSuccess;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue