summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2015-07-29 18:44:18 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-08-20 11:22:56 +0200
commit041de6423d634965473906c5cf9c7b5480e5ec33 (patch)
tree270f6dcd9335bfb4a8e983db313d1f47a1efb16a
parent607074367a9cb5bd7edbe722f175d5ee2d5538e3 (diff)
downloadmupdf-041de6423d634965473906c5cf9c7b5480e5ec33.tar.xz
Remove duplicate inclusions of headers.
These headers are already included by mupdf/fitz/system.h.
-rw-r--r--platform/x11/pdfapp.c2
-rw-r--r--source/fitz/filter-dct.c1
-rw-r--r--source/fitz/path.c1
-rw-r--r--source/pdf/pdf-object.c2
4 files changed, 0 insertions, 6 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c
index 3d796e47..006cba1b 100644
--- a/platform/x11/pdfapp.c
+++ b/platform/x11/pdfapp.c
@@ -1,8 +1,6 @@
#include "pdfapp.h"
#include "curl_stream.h"
-#include <ctype.h> /* for tolower() */
-
#define BEYOND_THRESHHOLD 40
#ifndef PATH_MAX
#define PATH_MAX (1024)
diff --git a/source/fitz/filter-dct.c b/source/fitz/filter-dct.c
index 0d24de88..e48f90fd 100644
--- a/source/fitz/filter-dct.c
+++ b/source/fitz/filter-dct.c
@@ -1,7 +1,6 @@
#include "mupdf/fitz.h"
#include <jpeglib.h>
-#include <setjmp.h>
#ifndef SHARE_JPEG
typedef void * backing_store_ptr;
diff --git a/source/fitz/path.c b/source/fitz/path.c
index 6eb38c83..a1ee1c15 100644
--- a/source/fitz/path.c
+++ b/source/fitz/path.c
@@ -1,4 +1,3 @@
-#include <assert.h>
#include "mupdf/fitz.h"
// Thoughts for further optimisations:
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c
index 3d795cfe..1b77292f 100644
--- a/source/pdf/pdf-object.c
+++ b/source/pdf/pdf-object.c
@@ -2,8 +2,6 @@
#include "pdf-name-table.h"
-#include <stdarg.h>
-
typedef enum pdf_objkind_e
{
PDF_INT = 'i',