diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-24 16:36:46 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 15:12:03 +0200 |
commit | ce680b96e207c90429eb702c5ee4b9bec177fdfd (patch) | |
tree | 2794e8a3efc8ad08d5ca976db4adc3ef10c512a8 /source/cbz/muimg.c | |
parent | 9a725130b9b16daa332f8502e24eac9cab4cf9b2 (diff) | |
download | mupdf-ce680b96e207c90429eb702c5ee4b9bec177fdfd.tar.xz |
Typedef function pointers consistently.
Diffstat (limited to 'source/cbz/muimg.c')
-rw-r--r-- | source/cbz/muimg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c index 8d93d881..d2dd7d19 100644 --- a/source/cbz/muimg.c +++ b/source/cbz/muimg.c @@ -73,9 +73,9 @@ img_load_page(fz_context *ctx, img_document *doc, int number) page = fz_new_derived_page(ctx, img_page); - page->super.bound_page = (fz_page_bound_page_fn *)img_bound_page; - page->super.run_page_contents = (fz_page_run_page_contents_fn *)img_run_page; - page->super.drop_page = (fz_page_drop_page_fn *)img_drop_page; + page->super.bound_page = (fz_page_bound_page_fn*)img_bound_page; + page->super.run_page_contents = (fz_page_run_page_contents_fn*)img_run_page; + page->super.drop_page = (fz_page_drop_page_fn*)img_drop_page; page->image = fz_keep_image(ctx, doc->image); @@ -95,10 +95,10 @@ img_new_document(fz_context *ctx, fz_image *image) { img_document *doc = fz_new_derived_document(ctx, img_document); - doc->super.drop_document = (fz_document_drop_fn *)img_drop_document; - doc->super.count_pages = (fz_document_count_pages_fn *)img_count_pages; - doc->super.load_page = (fz_document_load_page_fn *)img_load_page; - doc->super.lookup_metadata = (fz_document_lookup_metadata_fn *)img_lookup_metadata; + doc->super.drop_document = (fz_document_drop_fn*)img_drop_document; + doc->super.count_pages = (fz_document_count_pages_fn*)img_count_pages; + doc->super.load_page = (fz_document_load_page_fn*)img_load_page; + doc->super.lookup_metadata = (fz_document_lookup_metadata_fn*)img_lookup_metadata; doc->image = fz_keep_image(ctx, image); |