summaryrefslogtreecommitdiff
path: root/source/xps/xps-zip.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 16:36:46 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 15:12:03 +0200
commitce680b96e207c90429eb702c5ee4b9bec177fdfd (patch)
tree2794e8a3efc8ad08d5ca976db4adc3ef10c512a8 /source/xps/xps-zip.c
parent9a725130b9b16daa332f8502e24eac9cab4cf9b2 (diff)
downloadmupdf-ce680b96e207c90429eb702c5ee4b9bec177fdfd.tar.xz
Typedef function pointers consistently.
Diffstat (limited to 'source/xps/xps-zip.c')
-rw-r--r--source/xps/xps-zip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/xps/xps-zip.c b/source/xps/xps-zip.c
index 83de8ac4..5efccab4 100644
--- a/source/xps/xps-zip.c
+++ b/source/xps/xps-zip.c
@@ -219,10 +219,10 @@ static void
xps_init_document(fz_context *ctx, xps_document *doc)
{
doc->super.refs = 1;
- doc->super.drop_document = (fz_document_drop_fn *)xps_drop_document;
- doc->super.load_outline = (fz_document_load_outline_fn *)xps_load_outline;
- doc->super.resolve_link = (fz_document_resolve_link_fn *)xps_lookup_link_target;
- doc->super.count_pages = (fz_document_count_pages_fn *)xps_count_pages;
- doc->super.load_page = (fz_document_load_page_fn *)xps_load_page;
- doc->super.lookup_metadata = (fz_document_lookup_metadata_fn *)xps_lookup_metadata;
+ doc->super.drop_document = (fz_document_drop_fn*)xps_drop_document;
+ doc->super.load_outline = (fz_document_load_outline_fn*)xps_load_outline;
+ doc->super.resolve_link = (fz_document_resolve_link_fn*)xps_lookup_link_target;
+ doc->super.count_pages = (fz_document_count_pages_fn*)xps_count_pages;
+ doc->super.load_page = (fz_document_load_page_fn*)xps_load_page;
+ doc->super.lookup_metadata = (fz_document_lookup_metadata_fn*)xps_lookup_metadata;
}