summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/ZeroDevice.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-14 22:57:41 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-14 22:57:57 +0200
commit1f41a36c521fc09cf6f7c315971cc43d7521e010 (patch)
treed1edcadee55b3f5f0bc882b2fc1679d46848d39d /VirtualFileSystem/ZeroDevice.h
parentc6d6ba7512ceaaec402e9f8092cca319e887f07c (diff)
downloadserenity-1f41a36c521fc09cf6f7c315971cc43d7521e010.zip
Add a Unix namespace for foo_t types.
This allows me to keep prototyping things on a random desktop machine, even if that machine has its own ideas about foo_t types.
Diffstat (limited to 'VirtualFileSystem/ZeroDevice.h')
-rw-r--r--VirtualFileSystem/ZeroDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/VirtualFileSystem/ZeroDevice.h b/VirtualFileSystem/ZeroDevice.h
index 942a1b855a..cdbda79bfa 100644
--- a/VirtualFileSystem/ZeroDevice.h
+++ b/VirtualFileSystem/ZeroDevice.h
@@ -7,7 +7,7 @@ public:
ZeroDevice();
virtual ~ZeroDevice();
- ssize_t read(byte* buffer, size_t bufferSize) override;
- ssize_t write(const byte* buffer, size_t bufferSize) override;
+ Unix::ssize_t read(byte* buffer, Unix::size_t bufferSize) override;
+ Unix::ssize_t write(const byte* buffer, Unix::size_t bufferSize) override;
};