diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-05-10 22:10:33 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-16 19:25:58 +0100 |
commit | 99a850eefe43ba55ac34114db586d82637f0af0f (patch) | |
tree | 596127b8257d7fe47aa970800df448bcca7e25bc /fitz | |
parent | 7afefc8342853df50dc1e1a192415cd1164a7382 (diff) | |
download | mupdf-99a850eefe43ba55ac34114db586d82637f0af0f.tar.xz |
Code cleanup and removal of c++ if def in fitz headers
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/fitz-internal.h | 8 | ||||
-rw-r--r-- | fitz/fitz.h | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 04ff5fd6..22947cf4 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -19,10 +19,6 @@ typedef unsigned __int64 uint64_t; #include <inttypes.h> #endif -#ifdef __cplusplus -extern "C" { -#endif - struct fz_warn_context_s { char message[256]; @@ -1629,8 +1625,4 @@ struct fz_document_s fz_rect *(*bound_annot)(fz_document *doc, fz_annot *annot, fz_rect *rect); }; -#ifdef __cplusplus -} -#endif - #endif diff --git a/fitz/fitz.h b/fitz/fitz.h index c6e8fa04..5eb570d0 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -133,10 +133,6 @@ FILE *fopen_utf8(const char *name, const char *mode); #endif #endif -#ifdef __cplusplus -extern "C" { -#endif - /* Shut the compiler up about unused variables */ @@ -3345,8 +3341,4 @@ enum */ void fz_write_document(fz_document *doc, char *filename, fz_write_options *opts); -#ifdef __cplusplus -} -#endif - #endif |