From 99a850eefe43ba55ac34114db586d82637f0af0f Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Fri, 10 May 2013 22:10:33 -0700 Subject: Code cleanup and removal of c++ if def in fitz headers --- fitz/fitz-internal.h | 8 -------- fitz/fitz.h | 8 -------- 2 files changed, 16 deletions(-) (limited to 'fitz') 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 #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 -- cgit v1.2.3