summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/InodeWatcher.h
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2020-04-10 19:44:42 +1000
committerAndreas Kling <kling@serenityos.org>2020-04-10 11:59:30 +0200
commita3edeb5868abbd642d55d25f84c6ef83a7c7c9a2 (patch)
treedca1fe766c20f592e45a28b77563cb3e9f40d7e4 /Kernel/FileSystem/InodeWatcher.h
parent68c7ca7d3b246c5233dc6c93fa04f731beadafaa (diff)
downloadserenity-a3edeb5868abbd642d55d25f84c6ef83a7c7c9a2.zip
Kernel: Add explicit offset parameter to File::read etc
Diffstat (limited to 'Kernel/FileSystem/InodeWatcher.h')
-rw-r--r--Kernel/FileSystem/InodeWatcher.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/FileSystem/InodeWatcher.h b/Kernel/FileSystem/InodeWatcher.h
index d03eee8495..399de2b42d 100644
--- a/Kernel/FileSystem/InodeWatcher.h
+++ b/Kernel/FileSystem/InodeWatcher.h
@@ -49,10 +49,10 @@ public:
Type type { Type::Invalid };
};
- virtual bool can_read(const FileDescription&) const override;
- virtual bool can_write(const FileDescription&) const override;
- virtual ssize_t read(FileDescription&, u8*, ssize_t) override;
- virtual ssize_t write(FileDescription&, const u8*, ssize_t) override;
+ virtual bool can_read(const FileDescription&, size_t) const override;
+ virtual bool can_write(const FileDescription&, size_t) const override;
+ virtual ssize_t read(FileDescription&, size_t, u8*, ssize_t) override;
+ virtual ssize_t write(FileDescription&, size_t, const u8*, ssize_t) override;
virtual String absolute_path(const FileDescription&) const override;
virtual const char* class_name() const override { return "InodeWatcher"; };