mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
Kernel: Remove Limits.h
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include "NullDevice.h"
|
||||
#include "Limits.h"
|
||||
#include <AK/StdLibExtras.h>
|
||||
#include <AK/kstdio.h>
|
||||
|
||||
@@ -33,6 +32,6 @@ ssize_t NullDevice::read(Process&, byte*, ssize_t)
|
||||
|
||||
ssize_t NullDevice::write(Process&, const byte*, ssize_t buffer_size)
|
||||
{
|
||||
return min(GoodBufferSize, buffer_size);
|
||||
return min(PAGE_SIZE, buffer_size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user