From d55162d649a12d62a1d1c738d99ca9dee7de575d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 2 Mar 2012 14:13:05 +0000 Subject: Split fitz.h/mupdf.h into internal/external headers. Attempt to separate public API from internal functions. --- xps/muxps.h | 4 +--- xps/xps_common.c | 2 +- xps/xps_doc.c | 2 +- xps/xps_glyphs.c | 2 +- xps/xps_gradient.c | 2 +- xps/xps_image.c | 2 +- xps/xps_outline.c | 2 +- xps/xps_path.c | 2 +- xps/xps_resource.c | 2 +- xps/xps_tile.c | 2 +- xps/xps_util.c | 2 +- xps/xps_xml.c | 2 +- xps/xps_zip.c | 2 +- 13 files changed, 13 insertions(+), 15 deletions(-) (limited to 'xps') 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 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 -- cgit v1.2.3