mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
LibCore: Rename File
to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
parent
14951b92ca
commit
d43a7eae54
193 changed files with 536 additions and 556 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <LibPartition/PartitionTable.h>
|
||||
|
||||
#ifndef KERNEL
|
||||
# include <LibCore/DeprecatedFile.h>
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
|
@ -19,7 +20,7 @@ PartitionTable::PartitionTable(Kernel::StorageDevice const& device)
|
|||
{
|
||||
}
|
||||
#else
|
||||
PartitionTable::PartitionTable(NonnullRefPtr<Core::File> device_file)
|
||||
PartitionTable::PartitionTable(NonnullRefPtr<Core::DeprecatedFile> device_file)
|
||||
: m_device_file(device_file)
|
||||
{
|
||||
VERIFY(ioctl(m_device_file->leak_fd(), STORAGE_DEVICE_GET_BLOCK_SIZE, &m_block_size) >= 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue