summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-02 20:10:32 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-02 20:10:32 +0000
commitad343eccb18454bab2f4e9464b88564c9da69649 (patch)
treea4d775a8e99e7d98dcfabdcdde7e6ad0dfd7368b /image
parentf2cda2e1a707033ac582e791c45eeb3d0feaa70d (diff)
downloadnetsurf-ad343eccb18454bab2f4e9464b88564c9da69649.tar.gz
netsurf-ad343eccb18454bab2f4e9464b88564c9da69649.tar.bz2
remove unecessary utils/types.h
This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required.
Diffstat (limited to 'image')
-rw-r--r--image/image.c1
-rw-r--r--image/jpeg.c1
-rw-r--r--image/svg.c5
3 files changed, 4 insertions, 3 deletions
diff --git a/image/image.c b/image/image.c
index 81d53a3af..e0c9a435b 100644
--- a/image/image.c
+++ b/image/image.c
@@ -21,6 +21,7 @@
#include <stdbool.h>
#include <string.h>
+#include "utils/utils.h"
#include "utils/errors.h"
#include "utils/config.h"
#include "utils/log.h"
diff --git a/image/jpeg.c b/image/jpeg.c
index fd18238f7..a5d77b55b 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -35,7 +35,6 @@
#include "utils/log.h"
#include "utils/messages.h"
-#include "utils/types.h"
#include "utils/utils.h"
#define JPEG_INTERNAL_OPTIONS
diff --git a/image/svg.c b/image/svg.c
index 76be76ac2..0bffbe836 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -26,12 +26,13 @@
#include <svgtiny.h>
+#include "utils/messages.h"
+#include "utils/utils.h"
#include "content/content_protected.h"
#include "css/css.h"
#include "desktop/plotters.h"
+
#include "image/svg.h"
-#include "utils/messages.h"
-#include "utils/utils.h"
typedef struct svg_content {
struct content base;