summaryrefslogtreecommitdiff
path: root/xps
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-03-02 14:13:05 +0000
committerRobin Watts <robin.watts@artifex.com>2012-03-06 21:34:51 +0000
commitd55162d649a12d62a1d1c738d99ca9dee7de575d (patch)
tree56b2de5557048a0601a8d9514cae76f018f8863f /xps
parenta14bb1748d3827e542fbff47488f67e0dfa3b15d (diff)
downloadmupdf-d55162d649a12d62a1d1c738d99ca9dee7de575d.tar.xz
Split fitz.h/mupdf.h into internal/external headers.
Attempt to separate public API from internal functions.
Diffstat (limited to 'xps')
-rw-r--r--xps/muxps.h4
-rw-r--r--xps/xps_common.c2
-rw-r--r--xps/xps_doc.c2
-rw-r--r--xps/xps_glyphs.c2
-rw-r--r--xps/xps_gradient.c2
-rw-r--r--xps/xps_image.c2
-rw-r--r--xps/xps_outline.c2
-rw-r--r--xps/xps_path.c2
-rw-r--r--xps/xps_resource.c2
-rw-r--r--xps/xps_tile.c2
-rw-r--r--xps/xps_util.c2
-rw-r--r--xps/xps_xml.c2
-rw-r--r--xps/xps_zip.c2
13 files changed, 13 insertions, 15 deletions
diff --git a/xps/muxps.h b/xps/muxps.h
index c90d92ba..caba3322 100644
--- a/xps/muxps.h
+++ b/xps/muxps.h
@@ -1,9 +1,7 @@
#ifndef _MUXPS_H_
#define _MUXPS_H_
-#ifndef _FITZ_H_
-#error "fitz.h must be included before muxps.h"
-#endif
+#include "fitz-internal.h"
typedef unsigned char byte;
diff --git a/xps/xps_common.c b/xps/xps_common.c
index 32ea3fdc..c8464459 100644
--- a/xps/xps_common.c
+++ b/xps/xps_common.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
static inline int unhex(int a)
diff --git a/xps/xps_doc.c b/xps/xps_doc.c
index d8ab7bf4..5515b47a 100644
--- a/xps/xps_doc.c
+++ b/xps/xps_doc.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
static void
diff --git a/xps/xps_glyphs.c b/xps/xps_glyphs.c
index f7098ed1..2c0b339d 100644
--- a/xps/xps_glyphs.c
+++ b/xps/xps_glyphs.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
#include <ft2build.h>
diff --git a/xps/xps_gradient.c b/xps/xps_gradient.c
index f0ad0104..5630c976 100644
--- a/xps/xps_gradient.c
+++ b/xps/xps_gradient.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
#define MAX_STOPS 256
diff --git a/xps/xps_image.c b/xps/xps_image.c
index a2021223..665b6d11 100644
--- a/xps/xps_image.c
+++ b/xps/xps_image.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
typedef struct xps_image_s xps_image;
diff --git a/xps/xps_outline.c b/xps/xps_outline.c
index 30357491..577cdb6b 100644
--- a/xps/xps_outline.c
+++ b/xps/xps_outline.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
/*
diff --git a/xps/xps_path.c b/xps/xps_path.c
index 76b9bb21..b3dda187 100644
--- a/xps/xps_path.c
+++ b/xps/xps_path.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
char *
diff --git a/xps/xps_resource.c b/xps/xps_resource.c
index dcf3717d..c65893a1 100644
--- a/xps/xps_resource.c
+++ b/xps/xps_resource.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
static xml_element *
diff --git a/xps/xps_tile.c b/xps/xps_tile.c
index e87d76f7..93783ee1 100644
--- a/xps/xps_tile.c
+++ b/xps/xps_tile.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
#define TILE
diff --git a/xps/xps_util.c b/xps/xps_util.c
index b79927ba..aed6c19f 100644
--- a/xps/xps_util.c
+++ b/xps/xps_util.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
static inline int xps_tolower(int c)
diff --git a/xps/xps_xml.c b/xps/xps_xml.c
index 15c510a6..b6f3eea3 100644
--- a/xps/xps_xml.c
+++ b/xps/xps_xml.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
struct attribute
diff --git a/xps/xps_zip.c b/xps/xps_zip.c
index 08d9832a..a2182d5c 100644
--- a/xps/xps_zip.c
+++ b/xps/xps_zip.c
@@ -1,4 +1,4 @@
-#include "fitz.h"
+#include "fitz-internal.h"
#include "muxps.h"
#include <zlib.h>