Kernel: Remove unused String.h includes

This makes searching for not yet OOM safe interfaces a bit easier.
This commit is contained in:
Hendiadyoin1 2021-12-11 16:43:03 +01:00 committed by Brian Gianforcaro
parent 52e4753722
commit e34eb3e36d
Notes: sideshowbarker 2024-07-17 22:58:40 +09:00
26 changed files with 6 additions and 25 deletions

View file

@ -7,7 +7,7 @@
#pragma once
#include <AK/Assertions.h>
#include <AK/String.h>
#include <AK/Format.h>
#include <AK/Types.h>
#include <AK/Platform.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/Bitmap.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/Bus/PCI/Definitions.h>
#include <Kernel/FileSystem/SysFS.h>

View file

@ -6,11 +6,13 @@
#pragma once
#include <AK/Badge.h>
#include <AK/DistinctNumeric.h>
#include <AK/Function.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <AK/Vector.h>
#include <Kernel/Debug.h>
#include <Kernel/PhysicalAddress.h>
namespace Kernel {

View file

@ -4,6 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/String.h>
#include <Kernel/Bus/PCI/API.h>
#include <Kernel/Bus/PCI/Access.h>
#include <Kernel/Bus/PCI/SysFSPCI.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/Bus/PCI/Definitions.h>
#include <Kernel/FileSystem/SysFS.h>

View file

@ -5,7 +5,6 @@
*/
#include <AK/OwnPtr.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <AK/Vector.h>
#include <Kernel/Bus/USB/USBController.h>

View file

@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/String.h>
#include <Kernel/Devices/KCOVInstance.h>
namespace Kernel {

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Devices/CharacterDevice.h>
#include <Kernel/PhysicalAddress.h>

View file

@ -9,7 +9,7 @@
#include <AK/Error.h>
#include <AK/NonnullRefPtr.h>
#include <AK/RefCounted.h>
#include <AK/String.h>
#include <AK/StringView.h>
#include <AK/Types.h>
#include <AK/Weakable.h>
#include <Kernel/Forward.h>

View file

@ -13,7 +13,6 @@
#include <AK/NonnullOwnPtrVector.h>
#include <AK/OwnPtr.h>
#include <AK/RefPtr.h>
#include <AK/String.h>
#include <Kernel/FileSystem/FileSystem.h>
#include <Kernel/FileSystem/InodeIdentifier.h>
#include <Kernel/FileSystem/InodeMetadata.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Bus/PCI/Device.h>
#include <Kernel/Graphics/Console/GenericFramebufferConsole.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/RefCounted.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Graphics/GenericGraphicsAdapter.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/NonnullOwnPtr.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Graphics/GenericFramebufferDevice.h>
#include <Kernel/Graphics/GenericGraphicsAdapter.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/Error.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/Graphics/GenericGraphicsAdapter.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
#include <AK/Weakable.h>
#include <Kernel/Bus/PCI/Definitions.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Bus/PCI/Device.h>
#include <Kernel/Graphics/Definitions.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Bus/PCI/Device.h>
#include <Kernel/Graphics/Console/Console.h>

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/RefCounted.h>
#include <AK/String.h>
#include <AK/Types.h>
namespace Kernel {

View file

@ -7,7 +7,6 @@
#pragma once
#include <AK/RefPtr.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Interrupts/GenericInterruptHandler.h>
#include <Kernel/Interrupts/IRQController.h>

View file

@ -6,7 +6,6 @@
#pragma once
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Interrupts/GenericInterruptHandler.h>

View file

@ -10,7 +10,6 @@
#include <AK/HashTable.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/String.h>
#include <Kernel/Forward.h>
#include <Kernel/Locking/Spinlock.h>
#include <Kernel/Memory/AllocationStrategy.h>

View file

@ -9,7 +9,6 @@
#include <AK/Assertions.h>
#include <AK/Endian.h>
#include <AK/IPv4Address.h>
#include <AK/String.h>
#include <AK/Types.h>
namespace Kernel {

View file

@ -10,7 +10,6 @@
#include <AK/Function.h>
#include <AK/RefCounted.h>
#include <AK/RefPtr.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/FileSystem/File.h>
#include <Kernel/FileSystem/FileSystem.h>

View file

@ -6,7 +6,6 @@
#include <AK/Assertions.h>
#include <AK/MemMem.h>
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Arch/SmapDisabler.h>
#include <Kernel/Heap/kmalloc.h>

View file

@ -9,7 +9,6 @@
#include <AK/Noncopyable.h>
#include <AK/NonnullOwnPtrVector.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <Kernel/API/KeyCode.h>
#include <Kernel/Devices/ConsoleDevice.h>

View file

@ -8,7 +8,6 @@
#include <AK/Function.h>
#include <AK/RefCounted.h>
#include <AK/String.h>
#include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/Time/TimeManagement.h>