summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-12-12 13:35:36 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-12-12 13:40:40 +0100
commit0ad566ce63132cbd3f26dd2c0a67f9ccd4cc16ec (patch)
treee58aa62bb806da874e3c567a55dcac5699486770 /source/pdf
parentdbdea58a61dace3c36c586e4858e462674590f66 (diff)
downloadmupdf-0ad566ce63132cbd3f26dd2c0a67f9ccd4cc16ec.tar.xz
Make more pdf functions private.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-imp.h6
-rw-r--r--source/pdf/pdf-write.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/source/pdf/pdf-imp.h b/source/pdf/pdf-imp.h
index 6dd3571d..0e3c459e 100644
--- a/source/pdf/pdf-imp.h
+++ b/source/pdf/pdf-imp.h
@@ -3,6 +3,12 @@
#include "mupdf/pdf.h"
+/* Private object functions. */
+
+void pdf_dict_put_val_null(fz_context *ctx, pdf_obj *obj, int idx);
+
+/* Private OCG functions. */
+
void pdf_read_ocg(fz_context *ctx, pdf_document *doc);
void pdf_drop_ocg(fz_context *ctx, pdf_document *doc);
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c
index ae2f4122..b392bac5 100644
--- a/source/pdf/pdf-write.c
+++ b/source/pdf/pdf-write.c
@@ -1,4 +1,4 @@
-#include "mupdf/pdf.h"
+#include "pdf-imp.h"
#include <zlib.h>