summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibCore/CGzip.cpp7
-rw-r--r--Libraries/LibCore/puff.c (renamed from Libraries/LibDraw/puff.c)0
-rw-r--r--Libraries/LibCore/puff.h (renamed from Libraries/LibDraw/puff.h)0
-rw-r--r--Libraries/LibDraw/PNGLoader.cpp2
4 files changed, 4 insertions, 5 deletions
diff --git a/Libraries/LibCore/CGzip.cpp b/Libraries/LibCore/CGzip.cpp
index 894cbfd331..4b0f76c9b0 100644
--- a/Libraries/LibCore/CGzip.cpp
+++ b/Libraries/LibCore/CGzip.cpp
@@ -1,12 +1,11 @@
#include "CGzip.h"
-
#include <AK/ByteBuffer.h>
#include <AK/Optional.h>
+#include <LibCore/puff.h>
+#include <LibCore/puff.c>
#include <limits.h>
#include <stddef.h>
-#include <LibDraw/puff.h>
-
bool CGzip::is_compressed(const ByteBuffer& data)
{
return data.size() > 2 && data[0] == 0x1F && data[1] == 0x8b;
@@ -120,4 +119,4 @@ Optional<ByteBuffer> CGzip::decompress(const ByteBuffer& data)
}
return destination;
-} \ No newline at end of file
+}
diff --git a/Libraries/LibDraw/puff.c b/Libraries/LibCore/puff.c
index c6c90d7142..c6c90d7142 100644
--- a/Libraries/LibDraw/puff.c
+++ b/Libraries/LibCore/puff.c
diff --git a/Libraries/LibDraw/puff.h b/Libraries/LibCore/puff.h
index 50beef92a1..50beef92a1 100644
--- a/Libraries/LibDraw/puff.h
+++ b/Libraries/LibCore/puff.h
diff --git a/Libraries/LibDraw/PNGLoader.cpp b/Libraries/LibDraw/PNGLoader.cpp
index 0112292e20..3c157df745 100644
--- a/Libraries/LibDraw/PNGLoader.cpp
+++ b/Libraries/LibDraw/PNGLoader.cpp
@@ -1,8 +1,8 @@
#include <AK/FileSystemPath.h>
#include <AK/MappedFile.h>
#include <AK/NetworkOrdered.h>
+#include <LibCore/puff.h>
#include <LibDraw/PNGLoader.h>
-#include <LibDraw/puff.c>
#include <fcntl.h>
#include <serenity.h>
#include <stdio.h>