Everywhere: Remove unnecessary headers 1/4

Arbitrarily split up to make git bisect easier.

These unnecessary #include's were found by combining an automated tool (which
determined likely candidates) and some brain power (which decided whether
the #include is also semantically superfluous).

My favorite #include:

    #include "Applications/Piano/Music.h" // You can't have too much music in life!
This commit is contained in:
Ben Wiederhake 2021-02-01 22:48:35 +01:00 committed by Andreas Kling
parent 0a2304ba05
commit c9bb887c55
7 changed files with 0 additions and 7 deletions

View file

@ -35,7 +35,6 @@
# include <Kernel/Thread.h>
#else
# include <stdio.h>
# include <unistd.h>
#endif
namespace AK {

View file

@ -24,7 +24,6 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <AK/JsonArray.h>
#include <AK/JsonObject.h>
#include <AK/JsonPath.h>
#include <AK/JsonValue.h>

View file

@ -29,7 +29,6 @@
#include <AK/JsonObject.h>
#include <AK/JsonParser.h>
#include <AK/JsonValue.h>
#include <AK/StringBuilder.h>
namespace AK {

View file

@ -28,7 +28,6 @@
#include <AK/ScopeGuard.h>
#include <AK/String.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>

View file

@ -34,7 +34,6 @@
#include <LibGUI/Slider.h>
#include <LibGfx/Color.h>
#include <LibGfx/Rect.h>
#include <utility>
namespace PixelPaint {

View file

@ -26,7 +26,6 @@
#pragma once
#include "Applications/Piano/Music.h"
#include <AK/NonnullRefPtrVector.h>
#include <AK/Optional.h>
#include <AK/RefCounted.h>

View file

@ -27,7 +27,6 @@
#include <AK/Vector.h>
#include <LibGfx/BMPWriter.h>
#include <LibGfx/Bitmap.h>
#include <cstring>
namespace Gfx {