Kernel: Get rid of Unix namespace.

This is no longer needed as the Kernel can stand on its own legs now
and there won't be any conflict with host system data types.
This commit is contained in:
Andreas Kling 2019-01-23 06:53:01 +01:00
commit 8bb18fdc56
Notes: sideshowbarker 2024-07-19 15:58:28 +09:00
21 changed files with 124 additions and 125 deletions

View file

@ -23,10 +23,10 @@ public:
int close();
Unix::off_t seek(Unix::off_t, int whence);
off_t seek(off_t, int whence);
ssize_t read(Process&, byte*, size_t);
ssize_t write(Process&, const byte* data, size_t);
int stat(Unix::stat*);
int fstat(stat*);
bool can_read(Process&);
bool can_write(Process&);
@ -77,7 +77,7 @@ private:
RetainPtr<Inode> m_inode;
RetainPtr<CharacterDevice> m_device;
Unix::off_t m_current_offset { 0 };
off_t m_current_offset { 0 };
ByteBuffer m_generator_cache;